[clang] [clang-format][NFC] Port FormatTestComments to verifyFormat (PR #164310)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 23 00:53:54 PDT 2025


================
@@ -3991,224 +3988,224 @@ TEST_F(FormatTestComments, SpaceAtLineCommentBegin) {
       "//vv will only move\n"
       "//} if the line above does";
----------------
owenca wrote:

```suggestion
      "//} if the line above does");
  constexpr StringRef Code2(
      ...);
  constexpr StringRef Code3(
      ...);
  constexpr StringRef Code4(
      ...);
```
See below.

https://github.com/llvm/llvm-project/pull/164310


More information about the cfe-commits mailing list