================
@@ -1336,6 +1336,45 @@ class MatchASTVisitor : public
RecursiveASTVisitor<MatchASTVisitor>,
return false;
}
+ bool isInSystemHeader(const SourceLocation &Loc) {
+ const SourceManager &SM = getASTContext().getSourceManager();
+ return SM.isInSystemHeader(Loc);
+ }
+
+ template <typename T> SourceLocation getNodeLocation(T const &Node) {
----------------
carlosgalvezp wrote:
Oops, muscle memory, will fix :)
https://github.com/llvm/llvm-project/pull/151035
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits