This revision was automatically updated to reflect the committed changes.
Closed by commit rL358710: [clang-format] Fix incorrect formatting of keyword
macro definition (authored by owenpan, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to co
owenpan marked 2 inline comments as done.
owenpan added inline comments.
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:808
- if (FormatTok->Tok.getKind() != tok::identifier) {
+ if (!FormatTok->Tok.getIdentifierInfo()) {
IncludeGuard = IG_Rejected;
---
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 som