]> granicus.if.org Git - clang/commit
Mark a struct definition in an objc container with the TopLevelDeclInObjCContainer...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 29 Jan 2013 18:00:54 +0000 (18:00 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 29 Jan 2013 18:00:54 +0000 (18:00 +0000)
commit3d207e76a1c7ece5deec3d6ee35af04fe7f6212e
treee841f39719b5abfa5c13a8ece6863cf4231d99e3
parentf1579605adf03f94a2ddddc95c764737ead0efe5
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173811 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Index/getcursor-preamble.h [new file with mode: 0644]
test/Index/getcursor-preamble.m [new file with mode: 0644]