[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)

Doug Wyatt via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 08:29:52 PDT 2024


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

The ASTMatcher is only used in some debug-only code. It uses an AST traversal to find all the Decls to verify and then compares it against Sema's `DeclsWithEffectsToVerify`. I'm convinced now that Sema isn't missing anything so I'll remove the dependency.

https://github.com/llvm/llvm-project/pull/84983


More information about the cfe-commits mailing list