================
@@ -27,6 +27,8 @@
 #include "clang/AST/StmtObjC.h"
 #include "clang/AST/StmtVisitor.h"
 #include "clang/AST/Type.h"
+#include "clang/ASTMatchers/ASTMatchFinder.h"
----------------
Sirraide wrote:

No yeah, that part makes sense; I’d assume that you need to link to 
clangASTMatchers to be able to use AST matchers. I’m just saying I’m not sure 
whether we want to use AST matchers in Sema as there doesn’t seem to be a 
precedent for it—though I’m not familiar enough w/ the analysis part of Sema to 
know whether we’ve just never needed them or whether there’s another reason why 
you might not want to use them (afaik AST matchers are one of those components 
like libclang that are maintained on a best-effort basis, but I could be wrong).

https://github.com/llvm/llvm-project/pull/84983
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to