[PATCH] D123450: [clang-format] Parse Verilog if statements

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 4 15:27:25 PST 2022


owenpan added a comment.

In D123450#3465024 <https://reviews.llvm.org/D123450#3465024>, @MyDeveloperDay wrote:

> ``if (Keywords.isBlockBegin(*FormatTok, Style)) {``
>
> I'm not a massive fan of handling l_brace and begin and end as the same thing, I might be tempted to handle them separately, as then its clear what is happening,

+1


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