[PATCH] D102122: Support warn_unused_result on typedefs
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 29 13:42:51 PDT 2022
dblaikie updated this revision to Diff 432804.
dblaikie added a comment.
Use a single attribute, with a filter in the sema parsing code
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102122/new/
https://reviews.llvm.org/D102122
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttributeCommonInfo.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/AST/Expr.cpp
clang/lib/Basic/Attributes.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p1.cpp
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/c2x-nodiscard.c
clang/test/Sema/unused-expr.c
clang/test/SemaCXX/warn-unused-result.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102122.432804.patch
Type: text/x-patch
Size: 7939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220529/05706dbb/attachment.bin>
More information about the cfe-commits
mailing list