================
@@ -160,6 +160,86 @@ getTrailingCommentsInRange(CharSourceRange Range, const
SourceManager &SM,
return Comments;
}
+std::string getSourceText(CharSourceRange Range, const SourceManager &SM,
+ const LangOptions &LangOpts) {
+ if (!Range.isValid())
----------------
vbvictor wrote:
isInvalid
https://github.com/llvm/llvm-project/pull/180372
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits