[PATCH] D121756: [clang-format] Clean up code looking for if statements
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 13 15:31:11 PDT 2022
owenpan added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:133-136
- (isKeywordWithCondition(*Line.First) ||
- CurrentToken->getStartOfNonWhitespace() ==
- CurrentToken->Next->getStartOfNonWhitespace().getLocWithOffset(
- -1)))
----------------
Can you split it to a separate patch? Unlike the rest of this patch, it's likely to get accepted.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121756/new/
https://reviews.llvm.org/D121756
More information about the cfe-commits
mailing list