[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)
Chris Apple via cfe-commits
cfe-commits at lists.llvm.org
Wed May 1 12:39:28 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"
----------------
cjappl wrote:
FYI, these two headers require a cmake change:
```
diff --git a/clang/lib/Sema/CMakeLists.txt b/clang/lib/Sema/CMakeLists.txt
index a96439df6642..278c7c7394ab 100644
--- a/clang/lib/Sema/CMakeLists.txt
+++ b/clang/lib/Sema/CMakeLists.txt
@@ -80,6 +80,7 @@ add_clang_library(clangSema
LINK_LIBS
clangAPINotes
clangAST
+ clangASTMatchers
clangAnalysis
clangBasic
clangEdit
```
With this small change I was able to build the branch of your work merged with ours, no other adaptations necessary :)
https://github.com/llvm/llvm-project/pull/84983
More information about the cfe-commits
mailing list