llvm-project
ccc90386 - [clang-format] Handle more Verilog attributes (#196455)

Commit
2 days ago
[clang-format] Handle more Verilog attributes (#196455) before ```SystemVerilog (* x = "x" *) foreach(x[x]) x = x; ``` after ```SystemVerilog (* x = "x" *) foreach (x[x]) x = x; ``` The code for handling statements like the `foreach` preceded the part for handling the attributes inside `(* *)`. So there was a problem with some of the statements following attributes. The patch moves the part for the statements down. The loop in the code was also unnecessary.
Author
Parents
Loading