Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Index / getcursor-preamble.m
blob3cc442cf334d1746daa9d135b9cbdbb2bff9c855
1 #include "getcursor-preamble.h"
3 // RUN: c-index-test \
4 // RUN:    -cursor-at=%S/getcursor-preamble.h:2:10 \
5 // RUN:    -cursor-at=%S/getcursor-preamble.h:3:9 \
6 // RUN:    -cursor-at=%S/getcursor-preamble.h:4:6 \
7 // RUN:    -cursor-at=%S/getcursor-preamble.h:5:8 \
8 // RUN:    -cursor-at=%S/getcursor-preamble.h:7:7 \
9 // RUN:             %s | FileCheck %s
11 // RUN: env CINDEXTEST_EDITING=1 c-index-test \
12 // RUN:    -cursor-at=%S/getcursor-preamble.h:2:10 \
13 // RUN:    -cursor-at=%S/getcursor-preamble.h:3:9 \
14 // RUN:    -cursor-at=%S/getcursor-preamble.h:4:6 \
15 // RUN:    -cursor-at=%S/getcursor-preamble.h:5:8 \
16 // RUN:    -cursor-at=%S/getcursor-preamble.h:7:7 \
17 // RUN:             %s | FileCheck %s
19 // CHECK: StructDecl=AA:2:10
20 // CHECK: FieldDecl=x:3:9
21 // CHECK: ObjCIvarDecl=aa:4:5
22 // CHECK: ObjCIvarDecl=var:5:7
23 // CHECK: ObjCInstanceMethodDecl=foo:7:6