[PATCH] D123450: [clang-format] Parse Verilog if statements
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 21 02:29:58 PDT 2022
HazardyKnusperkeks added inline comments.
================
Comment at: clang/lib/Format/FormatToken.h:1572
+ bool isBlockBegin(const FormatToken &Tok, const FormatStyle &Style) const {
+ return Style.isVerilog() ? isVerilogBegin(Tok) : Tok.is(tok::l_brace);
+ }
----------------
Shouldn't we add TT_MacroBlockBegin?
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