[PATCH] D128709: [clang-format] Handle Verilog attributes
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 22:32:31 PDT 2022
owenpan added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:1466-1471
+ } else if (FormatTok->is(tok::l_paren)) {
+ const FormatToken *Next = Tokens->peekNextToken();
+ if (Next && Next->is(tok::star))
+ parseParens();
+ else
+ break;
----------------
as `peekNextToken()` never returns null.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128709/new/
https://reviews.llvm.org/D128709
More information about the cfe-commits
mailing list