From: Jordan Rose Date: Fri, 11 Jan 2013 02:37:47 +0000 (+0000) Subject: Revert "tg-fixits.td: fixup for Linux" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0214b992655df72b29bcc6ded9d48748224d3496;p=clang Revert "tg-fixits.td: fixup for Linux" 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 --- diff --git a/test/TableGen/tg-fixits.td b/test/TableGen/tg-fixits.td index a01adc6ece..d04a6a67e4 100644 --- a/test/TableGen/tg-fixits.td +++ b/test/TableGen/tg-fixits.td @@ -38,9 +38,4 @@ def HardTabs : Warning<"">, def Unicode : Warning<"ユニコード">, InGroup>; // CHECK: tg-fixits.td:[[@LINE-1]]:51: error: group 'name' is referred to anonymously // CHECK-NEXT: def Unicode : Warning<"{{[^"]+}}">, InGroup>; -// 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$)?}} -// CHECK: note: +// CHECK-NEXT: note: