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.

llvm-svn: 172163
This commit is contained in:
Jordan Rose 2013-01-11 02:37:47 +00:00
parent 92a44897a2
commit 78dd388afb

View 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: