llvm-project/clang/test/Index/getcursor-preamble.h
Argyrios Kyrtzidis c821f739b5 Mark a struct definition in an objc container with the TopLevelDeclInObjCContainer bit.
Fixes accurately getting a cursor inside an objc container containing a struct definition,
from a PCH/preamble file.

rdar://12584613

llvm-svn: 173811
2013-01-29 18:00:54 +00:00

9 lines
76 B
Objective-C

@interface I {
struct AA {
int x;
} aa;
int var;
}
-(id)foo;
@end