Mercurial > hg > CbC > CbC_llvm
diff tools/clang/test/Index/getcursor-preamble.m @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/clang/test/Index/getcursor-preamble.m Thu Dec 12 13:56:28 2013 +0900 @@ -0,0 +1,23 @@ +#include "getcursor-preamble.h" + +// RUN: c-index-test \ +// RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \ +// RUN: %s | FileCheck %s + +// RUN: env CINDEXTEST_EDITING=1 c-index-test \ +// RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \ +// RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \ +// RUN: %s | FileCheck %s + +// CHECK: StructDecl=AA:2:10 +// CHECK: FieldDecl=x:3:9 +// CHECK: ObjCIvarDecl=aa:4:5 +// CHECK: ObjCIvarDecl=var:5:7 +// CHECK: ObjCInstanceMethodDecl=foo:7:6