diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-26 17:29:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-26 17:29:49 +0000 |
commit | ef872a88f2d99463fe7d4d093e1fef86c7bd2afc (patch) | |
tree | d94e9b19731fc221fcdc6464d15a1330af269db1 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | d233b06afc0dddb769f0b548fcb1eadbbf5c74c8 (diff) | |
download | llvm-ef872a88f2d99463fe7d4d093e1fef86c7bd2afc.zip llvm-ef872a88f2d99463fe7d4d093e1fef86c7bd2afc.tar.gz llvm-ef872a88f2d99463fe7d4d093e1fef86c7bd2afc.tar.bz2 |
Update for llvm api change.
llvm-svn: 216467
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index 53074a6..d3bfc07 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -673,7 +673,7 @@ void CodeGenAction::ExecuteAction() { return; llvm::SMDiagnostic Err; - TheModule.reset(ParseIR(MainFile, Err, *VMContext)); + TheModule = parseIR(MainFile, Err, *VMContext); if (!TheModule) { // Translate from the diagnostic info to the SourceManager location if // available. |