[PATCH] D148103: [clang] Allow attributes to be constructed from keyword tokens
Richard Sandiford via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 12 03:06:07 PDT 2023
rsandifo-arm created this revision.
rsandifo-arm added reviewers: erichkeane, aaron.ballman.
Herald added a project: All.
rsandifo-arm requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148103
Files:
clang/include/clang/Basic/AttributeCommonInfo.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseExprCXX.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148103.512739.patch
Type: text/x-patch
Size: 7298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230412/bc293be3/attachment.bin>
More information about the cfe-commits
mailing list