summaryrefslogtreecommitdiffstats
path: root/clang/tools/index-test/index-test.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-25 18:22:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-25 18:22:41 +0000
commit7c59162eddcb01b0c2364a68a6145871cda38408 (patch)
tree8a9ec63667ab863a2ac61d1fa48f7fedcef601d3 /clang/tools/index-test/index-test.cpp
parent55c34113e485d6df85ff078f6fb3fbef0b7fc09c (diff)
downloadbcm5719-llvm-7c59162eddcb01b0c2364a68a6145871cda38408.tar.gz
bcm5719-llvm-7c59162eddcb01b0c2364a68a6145871cda38408.zip
Introduce the ResolveLocationInAST function which takes an ASTContext and a SourceLocation and it resolves it into a <Decl*, Stmt*> pair.
Decl* is the declaration associated with this source location and Stmt* is the statement/expression that the location points to. If the location does not point to a statement node, Stmt* is null. ResolveLocationInAST (along with converting a file:line:column triplet to a SourceLocation) will be useful for an IDE client and for clang's test suite. llvm-svn: 74197
Diffstat (limited to 'clang/tools/index-test/index-test.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud