summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-unicode.c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-07-12 08:34:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-07-12 08:34:31 +0000
commit20863e3692992718b5ecda45b86606731904fe46 (patch)
treef2b5d7f3d9861bc9412d783edf19ce6c136fb424 /clang/test/FixIt/fixit-unicode.c
parent29f90e804d12daaaba89b1830de27af0e69e5af4 (diff)
downloadbcm5719-llvm-20863e3692992718b5ecda45b86606731904fe46.tar.gz
bcm5719-llvm-20863e3692992718b5ecda45b86606731904fe46.zip
Be lax about trailing whitespace when checking fixit formatting, this depends on locale settings.
If a non-unicode locale is used, the unicode character is escaped and any byte that is in the escaped representation but not the semicolon will become whitespace. llvm-svn: 160113
Diffstat (limited to 'clang/test/FixIt/fixit-unicode.c')
-rw-r--r--clang/test/FixIt/fixit-unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/FixIt/fixit-unicode.c b/clang/test/FixIt/fixit-unicode.c
index 04d582e856f..d8e45923362 100644
--- a/clang/test/FixIt/fixit-unicode.c
+++ b/clang/test/FixIt/fixit-unicode.c
@@ -10,6 +10,6 @@ void test1() {
(&foo)☃>bar = 42;
// CHECK: error: expected ';' after expression
// Make sure we emit the fixit right in front of the snowman.
-// CHECK: {{^ \^$}}
-// CHECK: {{^ ;$}}
+// CHECK: {{^ \^}}
+// CHECK: {{^ ;}}
}
OpenPOWER on IntegriCloud