[PATCH] D118532: Fix -Wreserved-identifier in presence of system macro

2022-01-31 Thread serge via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb8290ffa9fd9: Fix -Wreserved-identifier in presence of system macro (authored by serge-sans-paille). Changed prior to commit: https://reviews.llvm

[PATCH] D118532: Fix -Wreserved-identifier in presence of system macro

2022-01-29 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM with a minor nit Comment at: clang/lib/Sema/SemaDecl.cpp:5720 if (Status != ReservedIdentifierStatus::NotReserved && - !Context.getSourceManager().

[PATCH] D118532: Fix -Wreserved-identifier in presence of system macro

2022-01-29 Thread serge via Phabricator via cfe-commits
serge-sans-paille created this revision. serge-sans-paille added reviewers: lebedev.ri, aaron.ballman, rsmith. serge-sans-paille requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Do not warn on reserved identifiers resulting from expansion of