diff options
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Index/ResolveLocation.cpp (renamed from clang/lib/Frontend/ResolveLocation.cpp) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Frontend/ResolveLocation.cpp b/clang/lib/Index/ResolveLocation.cpp index 9fbae30a485..b9df7029048 100644 --- a/clang/lib/Frontend/ResolveLocation.cpp +++ b/clang/lib/Index/ResolveLocation.cpp @@ -8,11 +8,11 @@ //===----------------------------------------------------------------------===// // // This defines the ResolveLocationInAST function, which resolves a -// source location into a <Decl *, Stmt *> pair. +// source location into a ASTLocation. // //===----------------------------------------------------------------------===// -#include "clang/Frontend/Utils.h" +#include "clang/Index/Utils.h" #include "clang/Index/ASTLocation.h" #include "clang/AST/DeclVisitor.h" #include "clang/AST/StmtVisitor.h" @@ -322,7 +322,7 @@ void LocResolverBase::print(Stmt *Node) { /// \brief Returns the AST node that a source location points to. /// -ASTLocation clang::ResolveLocationInAST(ASTContext &Ctx, SourceLocation Loc) { +ASTLocation idx::ResolveLocationInAST(ASTContext &Ctx, SourceLocation Loc) { if (Loc.isInvalid()) return ASTLocation(); |

