aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/Utils.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-06 21:34:20 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-06 21:34:20 +0000
commit874012b1fb80dff2ec227c726a0c63d55e3db63f (patch)
tree70eab7283470c4b7f92f2ab777edf8fdea9397ff /include/clang/Frontend/Utils.h
parent145918ca119904b6abe8b41aae0cbbf9a7247905 (diff)
Rename 'ASTNode' -> 'ASTLocation'.
ASTLocation is a much better name for its intended purpose which to represent a "point" into the AST. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/Utils.h')
-rw-r--r--include/clang/Frontend/Utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h
index 7e7efbce57..3153e400ef 100644
--- a/include/clang/Frontend/Utils.h
+++ b/include/clang/Frontend/Utils.h
@@ -36,7 +36,7 @@ class Decl;
class Stmt;
class ASTContext;
class SourceLocation;
-class ASTNode;
+class ASTLocation;
/// ProcessWarningOptions - Initialize the diagnostic client and process the
/// warning options specified on the command line.
@@ -103,7 +103,7 @@ void CacheTokens(Preprocessor& PP, llvm::raw_fd_ostream* OS);
/// Pointing at '100' will return a <VarDecl 'foo', IntegerLiteral '100'> pair.
/// Pointing at '++foo' will return a <FunctionDecl 'f', UnaryOperator> pair.
///
-ASTNode ResolveLocationInAST(ASTContext &Ctx, SourceLocation Loc);
+ASTLocation ResolveLocationInAST(ASTContext &Ctx, SourceLocation Loc);
} // end namespace clang