diff options
author | Tim Northover <tnorthover@apple.com> | 2013-08-12 12:51:05 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-08-12 12:51:05 +0000 |
commit | 19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c (patch) | |
tree | 612b6d2bfbca656d6991744307c0c1cfb0ea7944 /clang/test/CodeCompletion/enum-switch-case.c | |
parent | 501977eb7ae8cded22fb85330c6e6fab19b52b25 (diff) | |
download | llvm-19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c.zip llvm-19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c.tar.gz llvm-19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c.tar.bz2 |
Fix FileCheck --check-prefix lines.
Various tests had sprung up over the years which had --check-prefix=ABC on the
RUN line, but "CHECK-ABC:" later on. This happened to work before, but was
strictly incorrect. FileCheck is getting stricter soon though.
Patch by Ron Ofir.
llvm-svn: 188174
Diffstat (limited to 'clang/test/CodeCompletion/enum-switch-case.c')
-rw-r--r-- | clang/test/CodeCompletion/enum-switch-case.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeCompletion/enum-switch-case.c b/clang/test/CodeCompletion/enum-switch-case.c index b83bd7f6..264f46a 100644 --- a/clang/test/CodeCompletion/enum-switch-case.c +++ b/clang/test/CodeCompletion/enum-switch-case.c @@ -25,14 +25,14 @@ void test(enum Color color) { case } - // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CC1 %s + // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s // CHECK-CC1: Blue // CHECK-CC1-NEXT: Green // CHECK-CC1-NEXT: Indigo // CHECK-CC1-NEXT: Orange // CHECK-CC1-NEXT: Violet - // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:25:10 %s -o - | FileCheck -check-prefix=CC2 %s + // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:25:10 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s // CHECK-CC2: COMPLETION: Blue : [#enum Color#]Blue // CHECK-CC2-NEXT: COMPLETION: c2 : [#unsigned int#]c2 // CHECK-CC2-NEXT: COMPLETION: color : [#enum Color#]color |