Author: d0k
Date: Thu Jul 12 03:34:31 2012
New Revision: 160113
URL: http://llvm.org/viewvc/llvm-project?rev=160113&view=rev
Log:
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.
Modified:
cfe/trunk/test/FixIt/fixit-unicode.c
Modified: cfe/trunk/test/FixIt/fixit-unicode.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/fixit-unicode.c?rev=160113&r1=160112&r2=160113&view=diff
==============================================================================
--- cfe/trunk/test/FixIt/fixit-unicode.c (original)
+++ cfe/trunk/test/FixIt/fixit-unicode.c Thu Jul 12 03:34:31 2012
@@ -10,6 +10,6 @@
(&foo)â>bar = 42;
// CHECK: error: expected ';' after expression
// Make sure we emit the fixit right in front of the snowman.
-// CHECK: {{^ \^$}}
-// CHECK: {{^ ;$}}
+// CHECK: {{^ \^}}
+// CHECK: {{^ ;}}
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits