forked from OSchip/llvm-project
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
This commit is contained in:
parent
29f90e804d
commit
20863e3692
|
@ -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: {{^ ;}}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue