From dcceacb7f0085346164ac1dfb13f6f559533376b Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 24 Jan 2013 21:19:51 +0000 Subject: [PATCH] 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 --- test/FixIt/fixit-unicode.c | 3 ++- 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 -- 2.40.0