[PATCH] D114439: [Annotation] Allow parameter pack expansions and initializer lists in annotate attribute
Steffen Larsen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 7 07:55:13 PST 2022
steffenlarsen updated this revision to Diff 406468.
steffenlarsen added a comment.
Recent changes:
- Replaces `isExprArg` with `isArgMemberExprHolder` which returns true if the "argument member" can hold one or more expressions.
- Renames `checkStringLiteralExpr` to `checkASCIIStringLiteralExpr` to better convey the intended semantics.
- Reverts changes to `HandleAnnotateAttr` and removes `HandleAnnotationAttr`, moving final-args checks of expressions into `instantiateDependentAnnotationAttr`.
- Removes nonsensical comment.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114439/new/
https://reviews.llvm.org/D114439
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/ParsedAttr.h
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Sema/ParsedAttr.cpp
clang/lib/Sema/SemaAttr.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/Parser/cxx0x-attributes.cpp
clang/test/Sema/annotate.c
clang/test/SemaCXX/attr-annotate.cpp
clang/test/SemaTemplate/attributes.cpp
clang/utils/TableGen/ClangAttrEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114439.406468.patch
Type: text/x-patch
Size: 78008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220207/36700198/attachment-0001.bin>
More information about the cfe-commits
mailing list