]> granicus.if.org Git - clang/commit
[libclang/AST]
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 8 Jun 2012 02:16:11 +0000 (02:16 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 8 Jun 2012 02:16:11 +0000 (02:16 +0000)
commit390fff8e8b480fa146ffc14cbc63a1c2f9e2d206
tree73b4cf8c40fc09a5121884463b1d5491bf6d4fb1
parent19b17cb57ab809e5e3f02ac0beb85003350d560a
[libclang/AST]
AST: For auto-synthesized ivars give them the location of the related
property (previously they had no source location). This allows them
to be indexed by libclang.

libclang: Make sure synthesized ivars are indexed before the methods that
may reference them.

Fixes rdar://11607001.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaObjCProperty.cpp
test/Index/index-decls.m
tools/libclang/IndexDecl.cpp