Now stuff inside begin-end blocks get indented.
Some tests are moved into FormatTestVerilog.Block from
FormatTestVerilog.If because they have nothing to do with if statements.
Paths
| Differential D128711
[clang-format] Handle Verilog blocks ClosedPublic Authored by sstwcw on Jun 28 2022, 1:30 AM.
Details Summary Now stuff inside begin-end blocks get indented. Some tests are moved into FormatTestVerilog.Block from
Diff Detail
Event Timelinesstwcw added a parent revision: D126845: [clang-format] Handle Verilog numbers and operators.Jun 28 2022, 1:35 AM This revision is now accepted and ready to land.Jun 28 2022, 2:09 AM This revision was landed with ongoing or failed builds.Jul 28 2022, 5:39 PM Closed by commit rG67480b360ca0: [clang-format] Handle Verilog blocks (authored by sstwcw). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 448487 clang/lib/Format/FormatToken.h
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTestVerilog.cpp
clang/unittests/Format/TokenAnnotatorTest.cpp
|