diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-12 08:34:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-12 08:34:31 +0000 |
commit | c7bd9fbecd50c1fcdc1092e37023dbb8677d4eed (patch) | |
tree | a2ef5103b6c75bcaddb3795624f5975c1691adbe | |
parent | af082c3b163397c040c3a98c7a5f09ee2a0badef (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160113 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FixIt/fixit-unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FixIt/fixit-unicode.c b/test/FixIt/fixit-unicode.c index 04d582e856..d8e4592336 100644 --- a/test/FixIt/fixit-unicode.c +++ b/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: {{^ ;}} } |