Test fix-it ranges for Unicode characters.
Also, remove stray -fdiagnostics-parseable-fixits from ucn-pp-identifier. llvm-svn: 173373
This commit is contained in:
parent
db14eb25a0
commit
d4960d3eb1
|
@ -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}:";"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue