[PATCH] D129771: [clang-format] distinguish multiplication after brace-init from pointer
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 15 00:04:02 PDT 2022
owenpan accepted this revision.
owenpan added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:2328
+ if (PrevToken->is(tok::r_brace) && Tok.is(tok::star) &&
+ PrevToken->MatchingParen == nullptr)
return TT_PointerOrReference;
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129771/new/
https://reviews.llvm.org/D129771
More information about the cfe-commits
mailing list