================
@@ -177,6 +177,26 @@ static bool isLanguageDefinedBuiltin(const SourceManager 
&SourceMgr,
   return false;
 }
 
+static bool isReservedAttrName(Preprocessor &PP, IdentifierInfo *II) {
----------------
jwakely wrote:

Shouldn't the library use `[[__deprecated__]]` and `[[clang::__foo__]]` so that 
users can define the names `deprecated` and `foo` as macros (which is allowed 
in a conforming C++11 program) and the library still works?

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

Reply via email to