summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/c-index-getCursor-pp.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-03-19 03:57:57 +0000
committerBob Wilson <bob.wilson@apple.com>2010-03-19 03:57:57 +0000
commit4f559a3042cf26792892cc47681ac5d392fc57d0 (patch)
tree9edad6d545562de3d4e2da36a3ca6a5129b6a10b /clang/test/Index/c-index-getCursor-pp.c
parent857955243eacb1b752f53a65d969a79fcebb8ada (diff)
downloadbcm5719-llvm-4f559a3042cf26792892cc47681ac5d392fc57d0.tar.gz
bcm5719-llvm-4f559a3042cf26792892cc47681ac5d392fc57d0.zip
Revert 98907 since it is breaking buildbots.
--- Reverse-merging r98907 into '.': D test/Index/c-index-getCursor-pp.c U tools/CIndex/CIndex.cpp llvm-svn: 98929
Diffstat (limited to 'clang/test/Index/c-index-getCursor-pp.c')
-rw-r--r--clang/test/Index/c-index-getCursor-pp.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/clang/test/Index/c-index-getCursor-pp.c b/clang/test/Index/c-index-getCursor-pp.c
deleted file mode 100644
index 67fcfef2e4b..00000000000
--- a/clang/test/Index/c-index-getCursor-pp.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#define OBSCURE(X) X
-#define DECORATION
-
-typedef int T;
-void OBSCURE(func)(int x) {
- OBSCURE(T) DECORATION value;
-}
-
-// RUN: c-index-test -cursor-at=%s:1:11 %s | FileCheck -check-prefix=CHECK-1 %s
-// CHECK-1: macro definition=OBSCURE
-// RUN: c-index-test -cursor-at=%s:2:14 %s | FileCheck -check-prefix=CHECK-2 %s
-// CHECK-2: macro definition=DECORATION
-// RUN: c-index-test -cursor-at=%s:5:7 %s | FileCheck -check-prefix=CHECK-3 %s
-// CHECK-3: macro instantiation=OBSCURE:1:9
-// RUN: c-index-test -cursor-at=%s:6:6 %s | FileCheck -check-prefix=CHECK-4 %s
-// CHECK-4: macro instantiation=OBSCURE:1:9
-// RUN: c-index-test -cursor-at=%s:6:19 %s | FileCheck -check-prefix=CHECK-5 %s
-// CHECK-5: macro instantiation=DECORATION:2:9
OpenPOWER on IntegriCloud