owenpan added a comment.
Nvm. See https://github.com/llvm/llvm-project/issues/54384.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:216
FormatToken &OpeningParen = *CurrentToken->Previous;
assert(OpeningParen.is(tok::l_paren));
FormatToken *PrevNonComment = OpeningParen.getPreviousNonComment();
----------------
owenpan wrote:
> This patch either uncovers or causes an assertion failure here on a bunch of
> files in `clang/test`.
I was wrong! Please ignore it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121550/new/
https://reviews.llvm.org/D121550
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits