[PATCH] D123450: [clang-format] Parse Verilog if statements
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 1 23:29:00 PDT 2022
owenpan added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2592
- if (FormatTok->is(tok::l_brace)) {
+ if (Keywords.isBlockBegin(*FormatTok, Style)) {
FormatTok->setFinalizedType(TT_ControlStatementLBrace);
----------------
This is likely the culprit of https://github.com/llvm/llvm-project/issues/57509. @sstwcw can you have a look?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123450/new/
https://reviews.llvm.org/D123450
More information about the cfe-commits
mailing list