aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen/tg-fixits.td
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-11 00:37:33 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-11 00:37:33 +0000
commita03cc72bedd015b7eb76e9ac650992f58a48549d (patch)
tree33ed2b1dc133230221216854623ae1d4fbed1f10 /test/TableGen/tg-fixits.td
parent5ea6ef490547917426d5e2ed14c9f36521bbeacf (diff)
tg-fixits.td: fixup for Linux, which does not have a correct implementation of
llvm::sys::locale::columnWidth() git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/tg-fixits.td')
-rw-r--r--test/TableGen/tg-fixits.td7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/TableGen/tg-fixits.td b/test/TableGen/tg-fixits.td
index d04a6a67e4..a01adc6ece 100644
--- a/test/TableGen/tg-fixits.td
+++ b/test/TableGen/tg-fixits.td
@@ -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: