aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-08-18 23:56:56 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-08-18 23:56:56 +0000
commit3e31c7249729aca534f0614d40f9b6398005579d (patch)
tree55937d19a04306e18d35806c6cf79cb6c66f4956 /clang/lib/Frontend/CompilerInstance.cpp
parent70c751de76dd0a72366622e7dd8ff954374a06fe (diff)
downloadllvm-3e31c7249729aca534f0614d40f9b6398005579d.zip
llvm-3e31c7249729aca534f0614d40f9b6398005579d.tar.gz
llvm-3e31c7249729aca534f0614d40f9b6398005579d.tar.bz2
Rename various classes from PCH to AST.
llvm-svn: 111471
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index b930702..1cac78e9 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -270,8 +270,8 @@ CompilerInstance::createPCHExternalASTSource(llvm::StringRef Path,
DisablePCHValidation));
Reader->setDeserializationListener(
- static_cast<PCHDeserializationListener *>(DeserializationListener));
- switch (Reader->ReadPCH(Path)) {
+ static_cast<ASTDeserializationListener *>(DeserializationListener));
+ switch (Reader->ReadAST(Path)) {
case ASTReader::Success:
// Set the predefines buffer as suggested by the PCH reader. Typically, the
// predefines buffer will be empty.