[PATCH] D95396: Improve static_assert/_Static_assert diagnostics
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 2 06:08:04 PST 2021
aaron.ballman updated this revision to Diff 327426.
aaron.ballman added a comment.
Address review comments from @rnk
Only define the `static_assert` macro if one is not already defined and test the expected behavior.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95396/new/
https://reviews.llvm.org/D95396
Files:
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Lex/PPDirectives.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/test/Parser/static_assert.c
clang/test/Preprocessor/static_assert-already-defined.c
clang/test/Preprocessor/static_assert.c
clang/test/Sema/static-assert.c
clang/test/SemaCXX/static-assert.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95396.327426.patch
Type: text/x-patch
Size: 13939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210302/f57126e4/attachment-0001.bin>
More information about the cfe-commits
mailing list