Moved ReadBitcodeFile and EmitBitcodeFile out of TranslationUnit and made them
the standalone functions ReadASTBitcodeFile and EmitASTBitcodeFile
respectively.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45180 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 80d6c24..d440aad 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1048,7 +1048,7 @@
exit (1);
}
- TranslationUnit* TU = TranslationUnit::ReadBitcodeFile(Filename,FileMgr);
+ TranslationUnit* TU = ReadASTBitcodeFile(Filename,FileMgr);
if (!TU) {
fprintf(stderr, "error: file '%s' could not be deserialized\n",