[PATCH] D121846: [clang-format] Correctly recognize binary operators in template arguments with parenthesized literals.
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 16 20:56:30 PDT 2022
owenpan accepted this revision.
owenpan added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:2186
+ NextNonParen = NextNonParen->getNextNonComment();
+ }
+ if (NextNonParen && (NextNonParen->Tok.isLiteral() ||
----------------
Remove braces. :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121846/new/
https://reviews.llvm.org/D121846
More information about the cfe-commits
mailing list