diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-01-24 21:19:51 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-01-24 21:19:51 +0000 |
commit | dcceacb7f0085346164ac1dfb13f6f559533376b (patch) | |
tree | 468e3de539777a01433856860ede6eab4c84174c | |
parent | b87672b124ab4fbe6f2cabc2ad71655fc71230ea (diff) |
Test fix-it ranges for Unicode characters.
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
-rw-r--r-- | test/FixIt/fixit-unicode.c | 3 | ||||
-rw-r--r-- | test/Preprocessor/ucn-pp-identifier.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/FixIt/fixit-unicode.c b/test/FixIt/fixit-unicode.c index c45ba0663f..9c0242e92e 100644 --- a/test/FixIt/fixit-unicode.c +++ b/test/FixIt/fixit-unicode.c @@ -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}:";" } diff --git a/test/Preprocessor/ucn-pp-identifier.c b/test/Preprocessor/ucn-pp-identifier.c index b6e46516d8..8616d40ec3 100644 --- a/test/Preprocessor/ucn-pp-identifier.c +++ b/test/Preprocessor/ucn-pp-identifier.c @@ -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 |