summaryrefslogtreecommitdiff
path: root/test/CodeCompletion/enum-switch-case.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-12 12:51:05 +0000
committerTim Northover <tnorthover@apple.com>2013-08-12 12:51:05 +0000
commit931a4feb64f18190d189c222d61b2abf52f18ab8 (patch)
treecfee240f5e5c26219d52c6bd14347e133a99116c /test/CodeCompletion/enum-switch-case.cpp
parent53352600b7370b1d33b9fde1adda207fd9d7dcd1 (diff)
downloadclang-931a4feb64f18190d189c222d61b2abf52f18ab8.tar.gz
clang-931a4feb64f18190d189c222d61b2abf52f18ab8.tar.bz2
clang-931a4feb64f18190d189c222d61b2abf52f18ab8.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/enum-switch-case.cpp')
-rw-r--r--test/CodeCompletion/enum-switch-case.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeCompletion/enum-switch-case.cpp b/test/CodeCompletion/enum-switch-case.cpp
index 2677f33f98..997845afe5 100644
--- a/test/CodeCompletion/enum-switch-case.cpp
+++ b/test/CodeCompletion/enum-switch-case.cpp
@@ -19,7 +19,7 @@ void test(enum N::Color color) {
break;
case
- // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CC1 %s
+ // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
// CHECK-CC1: Blue : [#N::Color#]N::Blue
// CHECK-CC1-NEXT: Green : [#N::Color#]N::Green
// CHECK-CC1-NEXT: Indigo : [#N::Color#]N::Indigo