diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-12-18 21:44:50 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-12-18 21:44:50 +0000 |
commit | dca29279d724a5a84343d27644e7ba172570079f (patch) | |
tree | bef47cb3ca74cd22da16ac75890a9227dddb5480 /Driver/clang.cpp | |
parent | 49747fdd0a05dfc1f15910267d6f86dfe83e6fc8 (diff) |
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
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 80d6c241b7..d440aad6a2 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -1048,7 +1048,7 @@ static void ProcessSerializedFile(const std::string& InFile, Diagnostic& Diag, 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", |