]> granicus.if.org Git - clang/commit
[libclang/AST] Index references of protocols in "@protocol(...)" syntax.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 16 May 2012 00:50:02 +0000 (00:50 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 16 May 2012 00:50:02 +0000 (00:50 +0000)
commit7d24e289bea2accaaed79c6ca3e5cdd0c204ddc1
tree753550bf2c11c568690183fd9e818cfcc2f9f4b5
parent0773659881064e7773a63eabc26a4d90293e2f04
[libclang/AST] Index references of protocols in "@protocol(...)" syntax.

To do that, keep track of the location of the protocol id in the ObjCProtocolExpr
AST node.

rdar://11190837

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156890 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprObjC.h
include/clang/Sema/Sema.h
lib/Parse/ParseObjc.cpp
lib/Sema/SemaExprObjC.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
tools/libclang/IndexBody.cpp