[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)
commitb7e4367fefab1ffb85c5f1b0dddb163933dc3cae
tree14ecc5e62d72c91e54a9e2dbb4c23196c058da19
parent3bcf4b5cc7c260a8786f1785efcf6debe0e10442
[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

llvm-svn: 156890
clang/include/clang/AST/ExprObjC.h
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseObjc.cpp
clang/lib/Sema/SemaExprObjC.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/tools/libclang/IndexBody.cpp