[PATCH] D134325: [clang-format] Look ahead before consuming `bool` in requires clause.
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 12:03:24 PDT 2022
owenpan added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:3534
+ nextToken();
+ assert(FormatTok->is(tok::l_paren));
parseParens();
----------------
Redundant as it's asserted at the start of `parseParens()` below?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134325/new/
https://reviews.llvm.org/D134325
More information about the cfe-commits
mailing list