[PATCH] D60853: clang-format converts a keyword macro definition to a macro function
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 18 03:15:28 PDT 2019
MyDeveloperDay added a comment.
LGTM
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:808
- if (FormatTok->Tok.getKind() != tok::identifier) {
+ if (!FormatTok->Tok.getIdentifierInfo()) {
IncludeGuard = IG_Rejected;
----------------
Is this equivalent to saying something that means `FormatTok->isKeyWord()` ? for those case where the #define <keyword>
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60853/new/
https://reviews.llvm.org/D60853
More information about the cfe-commits
mailing list