]> granicus.if.org Git - clang/commitdiff
tg-fixits.td: fixup for Linux, which does not have a correct implementation of
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 11 Jan 2013 00:37:33 +0000 (00:37 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 11 Jan 2013 00:37:33 +0000 (00:37 +0000)
llvm::sys::locale::columnWidth()

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172152 91177308-0d34-0410-b5e6-96231b3b80d8

test/TableGen/tg-fixits.td

index d04a6a67e48b21ebdda8c8e3d3c2582e2ebc1e68..a01adc6ece10758e417edba08ffbb2b7119e81c7 100644 (file)
@@ -38,4 +38,9 @@ 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">>;
-// CHECK-NEXT: note:
+// 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: