It's better to show no caret/ranges/fixits than to show them misaligned.
(It scares me a bit that Clang is going to show them misaligned on
systems without a proper llvm::sys::locale::columnWidth.) See PR14910.
This reverts commit
a03cc72bedd015b7eb76e9ac650992f58a48549d.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172163
91177308-0d34-0410-b5e6-
96231b3b80d8
def Unicode : Warning<"ユニコード">, InGroup<DiagGroup<"name">>;
// CHECK: tg-fixits.td:[[@LINE-1]]:51: error: group 'name' is referred to anonymously
// CHECK-NEXT: def Unicode : Warning<"{{[^"]+}}">, InGroup<DiagGroup<"name">>;
-// Next two lines should not be printed, we get the underline wrong. Our
-// implementation of diagnostic printing can skip printing these lines on some
-// OSes, but not on all. See PR14910.
-// CHECK: {{(^ ~~~~~~~~\^~~~~~~~~~~~~~~~~~$)?}}
-// CHECK: {{(^ InGroup<NamedGroup>$)?}}
-// CHECK: note:
+// CHECK-NEXT: note: