When the line is too long and the begin keyword wraps to the next
line, it shouldn't be indented.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D149657
[clang-format] Don't indent Verilog `begin` keyword on its own line ClosedPublic Authored by sstwcw on May 2 2023, 8:33 AM.
Details Summary When the line is too long and the begin keyword wraps to the next
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptMay 2 2023, 8:33 AM Herald added reviewers: rymiel, HazardyKnusperkeks, owenpan, MyDeveloperDay. · View Herald Transcript sstwcw retitled this revision from [clang-format] Stop indent Verilog `begin` keyword on single line to [clang-format] Stop indenting Verilog `begin` keyword on single line.May 2 2023, 8:34 AM sstwcw retitled this revision from [clang-format] Stop indenting Verilog `begin` keyword on single line to [clang-format] Don't indent Verilog `begin` keyword on its own line. This revision is now accepted and ready to land.May 2 2023, 12:23 PM Closed by commit rGdf722b01246d: [clang-format] Don't indent Verilog `begin` keyword on its own line (authored by sstwcw). · Explain WhyMay 6 2023, 10:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 520149 clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTestVerilog.cpp
|