Author: jrose
Date: Thu Jan 24 15:19:51 2013
New Revision: 173373
URL: http://llvm.org/viewvc/llvm-project?rev=173373&view=rev
Log:
Test fix-it ranges for Unicode characters.
Also, remove stray -fdiagnostics-parseable-fixits from ucn-pp-identifier.
Modified:
cfe/trunk/test/FixIt/fixit-unicode.c
cfe/trunk/test/Preprocessor/ucn-pp-identifier.c
Modified: cfe/trunk/test/FixIt/fixit-unicode.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/fixit-unicode.c?rev=173373&r1=173372&r2=173373&view=diff
==============================================================================
--- cfe/trunk/test/FixIt/fixit-unicode.c (original)
+++ cfe/trunk/test/FixIt/fixit-unicode.c Thu Jan 24 15:19:51 2013
@@ -16,7 +16,8 @@
// 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}:";"
}
Modified: cfe/trunk/test/Preprocessor/ucn-pp-identifier.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/ucn-pp-identifier.c?rev=173373&r1=173372&r2=173373&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/ucn-pp-identifier.c (original)
+++ cfe/trunk/test/Preprocessor/ucn-pp-identifier.c Thu Jan 24 15:19:51 2013
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits