aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/ParseAST.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-28 04:11:33 +0000
committerChris Lattner <sabre@nondot.org>2009-03-28 04:11:33 +0000
commitdacbc5d46aaeea817742b8c76c987b87d2490c85 (patch)
treed862ae92c19bc61a9f569446c9b78a3757e4211d /lib/Sema/ParseAST.cpp
parent1d9a23ac34fee297e28361653a72c519cb04a854 (diff)
change HandleTranslationUnit to take an ASTContext instead of TranslationUnit
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/ParseAST.cpp')
-rw-r--r--lib/Sema/ParseAST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp
index bbca551521..756a398b4c 100644
--- a/lib/Sema/ParseAST.cpp
+++ b/lib/Sema/ParseAST.cpp
@@ -56,7 +56,7 @@ void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer,
}
};
- Consumer->HandleTranslationUnit(TU);
+ Consumer->HandleTranslationUnit(TU.getContext());
if (PrintStats) {
fprintf(stderr, "\nSTATISTICS:\n");