[PATCH] D116386: [clang-tidy] Narrow cppguidelines-macro-usage to actual constants
Richard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 11 20:02:49 PST 2022
LegalizeAdulthood updated this revision to Diff 399186.
LegalizeAdulthood added a comment.
- clang-format
- use Token::isLiteral instead of homebrew token predicate
- rename predicate on token list to reflect isLiteral
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116386/new/
https://reviews.llvm.org/D116386
Files:
clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116386.399186.patch
Type: text/x-patch
Size: 4932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220112/5e6bf94a/attachment.bin>
More information about the cfe-commits
mailing list