================
@@ -177,6 +177,26 @@ static bool isLanguageDefinedBuiltin(const SourceManager
&SourceMgr,
return false;
}
+static bool isReservedAttrName(Preprocessor &PP, IdentifierInfo *II) {
----------------
Sirraide wrote:
> The
> [Attr.td](https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Basic/Attr.td)
> file contain some details about attributes. I'm uncertain whether this file
> is sufficient for our case or if we need to define a new one...
>From what I can tell, you’ll have to extend ClangAttrEmitter and introduce a
>new flag in `Attr.td` that is set for every standard C++ attribute (e.g.
>`CXX11NoReturn`, but not `C11NoReturn` or `NoReturn`).
https://github.com/llvm/llvm-project/pull/106036
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits