aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorsstwcw <f0gukp2nk@protonmail.com>2023-05-07 05:12:18 +0000
committersstwcw <f0gukp2nk@protonmail.com>2023-05-07 05:13:04 +0000
commite12428557a4545c0bd1b277dac2d5b56cae3c156 (patch)
tree575537659568484f02276ef805335ec83e45dd71 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parente5f0f1d3ee9589caec4e3859a4e57d6ece473dbe (diff)
downloadllvm-e12428557a4545c0bd1b277dac2d5b56cae3c156.zip
llvm-e12428557a4545c0bd1b277dac2d5b56cae3c156.tar.gz
llvm-e12428557a4545c0bd1b277dac2d5b56cae3c156.tar.bz2
[clang-format] Recognize Verilog edge identifiers
Previously the event expression would be misidentified as a port list. A line break would be added after the comma. The events can be separated with either a comma or the `or` keyword, and a line break would not be inserted if the `or` keyword was used. We changed the behavior of the comma to match the `or` keyword. Before: ``` always @(posedge x, posedge y) x <= x; always @(posedge x or posedge y) x <= x; ``` After: ``` always @(posedge x, posedge y) x <= x; always @(posedge x or posedge y) x <= x; ``` Reviewed By: HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D149561
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions