diff options
Diffstat (limited to 'include/clang/Index/Utils.h')
-rw-r--r-- | include/clang/Index/Utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/clang/Index/Utils.h b/include/clang/Index/Utils.h index e78ef8a155630..36cf56dea203e 100644 --- a/include/clang/Index/Utils.h +++ b/include/clang/Index/Utils.h @@ -18,7 +18,8 @@ namespace clang { class ASTContext; class SourceLocation; - + class Decl; + namespace idx { class ASTLocation; @@ -26,7 +27,8 @@ namespace idx { /// /// \returns the resolved ASTLocation or an invalid ASTLocation if the source /// location could not be resolved. -ASTLocation ResolveLocationInAST(ASTContext &Ctx, SourceLocation Loc); +ASTLocation ResolveLocationInAST(ASTContext &Ctx, SourceLocation Loc, + Decl *RelativeToDecl = 0); } // end namespace idx |