[PATCH] D157963: [clang-format] Annotate constructor/destructor names
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 28 14:35:55 PDT 2023
owenpan added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3135
+ if (!Tok)
+ break;
+ }
----------------
When simplifying the function, I forgot that we are in the inner loop here and thus `break` won't exit the outer loop.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157963/new/
https://reviews.llvm.org/D157963
More information about the cfe-commits
mailing list