diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-18 23:56:56 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-18 23:56:56 +0000 |
commit | 571db7f0cb31789737be92fce1c1b738e6dbe795 (patch) | |
tree | 550345b729b063f06c2a59b98bd116a0bf71bc76 /lib/Frontend/CompilerInstance.cpp | |
parent | 60adf4acf40b72227740bf966fb87eebddff3f37 (diff) |
Rename various classes from PCH to AST.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index b930702ef4..1cac78e971 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/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. |