]> granicus.if.org Git - clang/commitdiff
Revert "tg-fixits.td: fixup for Linux"
authorJordan Rose <jordan_rose@apple.com>
Fri, 11 Jan 2013 02:37:47 +0000 (02:37 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 11 Jan 2013 02:37:47 +0000 (02:37 +0000)
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

test/TableGen/tg-fixits.td

index a01adc6ece10758e417edba08ffbb2b7119e81c7..d04a6a67e48b21ebdda8c8e3d3c2582e2ebc1e68 100644 (file)
@@ -38,9 +38,4 @@ def HardTabs : Warning<"">,
 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: