]> granicus.if.org Git - clang/commitdiff
Test fix-it ranges for Unicode characters.
authorJordan Rose <jordan_rose@apple.com>
Thu, 24 Jan 2013 21:19:51 +0000 (21:19 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 24 Jan 2013 21:19:51 +0000 (21:19 +0000)
Also, remove stray -fdiagnostics-parseable-fixits from ucn-pp-identifier.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173373 91177308-0d34-0410-b5e6-96231b3b80d8

test/FixIt/fixit-unicode.c
test/Preprocessor/ucn-pp-identifier.c

index c45ba0663f43f3ba322fda7aa7a5dad1a98fb24c..9c0242e92e3b95aa703e6df58cf1030d95cb607f 100644 (file)
@@ -16,7 +16,8 @@ void test1() {
 // CHECK: {{^              \^}}
 // CHECK: {{^              ;}}
 
-// CHECK-MACHINE: fix-it:"{{.*}}fixit-unicode.c":{[[@LINE-8]]:15-[[@LINE-8]]:15}:";"
+// CHECK-MACHINE: fix-it:"{{.*}}fixit-unicode.c":{[[@LINE-8]]:15-[[@LINE-8]]:18}:""
+// CHECK-MACHINE: fix-it:"{{.*}}fixit-unicode.c":{[[@LINE-9]]:15-[[@LINE-9]]:15}:";"
 }
 
 
index b6e46516d83193dd0a07a9353f4dc52733a9f14a..8616d40ec3f7db08195568532e29838709884c86 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 %s -fsyntax-only -std=c99 -pedantic -verify -Wundef
 // RUN: %clang_cc1 %s -fsyntax-only -x c++ -pedantic -verify -Wundef
-// RUN: %clang_cc1 %s -fsyntax-only -std=c99 -pedantic -fdiagnostics-parseable-fixits -Wundef 2>&1 | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 %s -fsyntax-only -std=c99 -pedantic -Wundef 2>&1 | FileCheck -strict-whitespace %s
 
 #define \u00FC
 #define a\u00FD() 0