[PATCH] D151301: [clang][Diagnostics] Print empty lines in multiline snippets

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 24 00:30:16 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/test/Misc/diag-style.cpp:10
+// CHECK-NEXT: {{^}}      |               ^~~~~~~~{{$}}
+// CHECK-NEXT: {{^}}    5 | {{$}}
+// CHECK-NEXT: {{^}}    6 |               true, "");{{$}}
----------------
Questionable whether the space after the `|` is expected.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151301/new/

https://reviews.llvm.org/D151301



More information about the cfe-commits mailing list