This patch adds an extra AttributeCommonInfo::Form constructor
for keywords, represented by their TokenKind. This isn't a
win on its own, but it helps with later patches.
No functional change intended.
Paths
| Differential D148103
[clang] Allow attributes to be constructed from keyword tokens ClosedPublic Authored by rsandifo-arm on Apr 12 2023, 3:06 AM.
Details Summary This patch adds an extra AttributeCommonInfo::Form constructor No functional change intended.
Diff Detail
Event Timelinersandifo-arm added a parent revision: D148102: [clang] Specify attribute syntax & spelling with a single argument.Apr 12 2023, 3:08 AM rsandifo-arm added a child revision: D148104: [clang] Type safety tweak for AttributeCommonInfo::Form. This revision is now accepted and ready to land.Apr 12 2023, 6:43 AM Closed by commit rG265d87e46535: [clang] Allow attributes to be constructed from keyword tokens (authored by rsandifo-arm). · Explain WhyApr 13 2023, 2:16 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512739 clang/include/clang/Basic/AttributeCommonInfo.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseExprCXX.cpp
|