================ @@ -177,6 +177,26 @@ static bool isLanguageDefinedBuiltin(const SourceManager &SourceMgr, return false; } +static bool isReservedAttrName(Preprocessor &PP, IdentifierInfo *II) { ---------------- a-tarasyuk wrote:
>From my, attribute names aren't typical language keywords, and only a specific >set defined by the standard should be disallowed. For example, `likely` and >`unlikely` should be permitted. Reusing attribute parsing doesn't seem >appropriate here. I haven't found a predefined list of standard attributes; if >there is one, I would appreciate it if you could direct me to it. Thanks 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