summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-toplevel-in-objccontainer.m
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
commit19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c (patch)
tree612b6d2bfbca656d6991744307c0c1cfb0ea7944 /clang/test/Index/annotate-toplevel-in-objccontainer.m
parent501977eb7ae8cded22fb85330c6e6fab19b52b25 (diff)
downloadbcm5719-llvm-19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c.tar.gz
bcm5719-llvm-19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c.zip
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/Index/annotate-toplevel-in-objccontainer.m')
-rw-r--r--clang/test/Index/annotate-toplevel-in-objccontainer.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Index/annotate-toplevel-in-objccontainer.m b/clang/test/Index/annotate-toplevel-in-objccontainer.m
index 56b7871d9bc..3d8948e01e8 100644
--- a/clang/test/Index/annotate-toplevel-in-objccontainer.m
+++ b/clang/test/Index/annotate-toplevel-in-objccontainer.m
@@ -18,16 +18,16 @@ static int glob2;
// RUN: c-index-test -write-pch %t.h.pch -x objective-c-header %s.h
// RUN: c-index-test -test-annotate-tokens=%s:5:1:7:1 %s -include %t.h \
-// RUN: | FileCheck -check-prefix=INTER %s
+// RUN: | FileCheck -check-prefix=CHECK-INTER %s
// CHECK-INTER: Identifier: "meth1" [5:8 - 5:13] ObjCInstanceMethodDecl=meth1:5:8
// CHECK-INTER: Identifier: "meth2" [6:8 - 6:13] ObjCInstanceMethodDecl=meth2:6:8
// RUN: c-index-test -test-annotate-tokens=%s:14:1:16:1 %s -include %t.h \
-// RUN: | FileCheck -check-prefix=IMPL %s
+// RUN: | FileCheck -check-prefix=CHECK-IMPL %s
// CHECK-IMPL: Identifier: "meth1" [14:8 - 14:13] ObjCInstanceMethodDecl=meth1:14:8 (Definition)
// CHECK-IMPL: Identifier: "meth2" [15:8 - 15:13] ObjCInstanceMethodDecl=meth2:15:8 (Definition)
// RUN: c-index-test -test-annotate-tokens=%s.h:7:1:9:1 %s -include %t.h \
-// RUN: | FileCheck -check-prefix=PCH %s
+// RUN: | FileCheck -check-prefix=CHECK-PCH %s
// CHECK-PCH: Identifier: "meth1" [7:8 - 7:13] ObjCInstanceMethodDecl=meth1:7:8
// CHECK-PCH: Identifier: "meth2" [8:8 - 8:13] ObjCInstanceMethodDecl=meth2:8:8
OpenPOWER on IntegriCloud