[all-commits] [llvm/llvm-project] 0e01c3: [clang-format] More work on space around operators...

eywdck2l via All-commits all-commits at lists.llvm.org
Sat Mar 25 14:18:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e01c3d282179ab11101988e1e1f2763f48f6882
      https://github.com/llvm/llvm-project/commit/0e01c3d282179ab11101988e1e1f2763f48f6882
  Author: sstwcw <f0gukp2nk at protonmail.com>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTestVerilog.cpp

  Log Message:
  -----------
  [clang-format] More work on space around operators in Verilog

before:
```
(opcode *>o1) = 6.1;
a inside{b, c};
x = { >> {j}};
```

after:
```
(opcode *> o1) = 6.1;
a inside {b, c};
x = {>>{j}};
```

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D146403


  Commit: f90668c8ccc5cd3d8c6521cfc872f3c51f2a02db
      https://github.com/llvm/llvm-project/commit/f90668c8ccc5cd3d8c6521cfc872f3c51f2a02db
  Author: sstwcw <f0gukp2nk at protonmail.com>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTestVerilog.cpp

  Log Message:
  -----------
  [clang-format] Handle Verilog assign statements

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D146402


Compare: https://github.com/llvm/llvm-project/compare/b48e7c2d01a3...f90668c8ccc5


More information about the All-commits mailing list