diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-06-25 18:22:41 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-06-25 18:22:41 +0000 |
commit | 7c59162eddcb01b0c2364a68a6145871cda38408 (patch) | |
tree | 8a9ec63667ab863a2ac61d1fa48f7fedcef601d3 /clang/tools/index-test | |
parent | 55c34113e485d6df85ff078f6fb3fbef0b7fc09c (diff) | |
download | bcm5719-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')
0 files changed, 0 insertions, 0 deletions