forked from OSchip/llvm-project
Remove clang-format tests from tools/extra.
These will be re-added to clang/test. llvm-svn: 177852
This commit is contained in:
parent
c6fd019c77
commit
83c10c9d38
|
@ -22,7 +22,7 @@ set(CLANG_TOOLS_TEST_DEPS
|
|||
clang clang-headers FileCheck count not
|
||||
|
||||
# Individual tools we test.
|
||||
remove-cstr-calls cpp11-migrate clang-format
|
||||
remove-cstr-calls cpp11-migrate
|
||||
)
|
||||
|
||||
add_lit_testsuite(check-clang-tools "Running the Clang extra tools' regression tests"
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
|
||||
// RUN: clang-format -i %t.cpp
|
||||
// RUN: FileCheck -input-file=%t.cpp %s
|
||||
|
||||
// CHECK: {{^int \*i;}}
|
||||
int * i ;
|
|
@ -1,4 +0,0 @@
|
|||
// RUN: clang-format 2>&1 >/dev/null %s |FileCheck %s
|
||||
|
||||
}
|
||||
// CHECK: diagnostic.cpp:[[@LINE-1]]:1: error: unexpected '}'
|
|
@ -1,11 +0,0 @@
|
|||
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
|
||||
// RUN: clang-format -offset=2 -length=0 -offset=28 -length=0 -i %t.cpp
|
||||
// RUN: FileCheck -input-file=%t.cpp %s
|
||||
// CHECK: {{^int \*i;$}}
|
||||
int*i;
|
||||
|
||||
// CHECK: {{^ int \* i;$}}
|
||||
int * i;
|
||||
|
||||
// CHECK: {{^ int \*i;$}}
|
||||
int * i;
|
Loading…
Reference in New Issue