r220742 - Update for LLVM API change.
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 27 17:29:51 PDT 2014
Author: rafael
Date: Mon Oct 27 19:29:51 2014
New Revision: 220742
URL: http://llvm.org/viewvc/llvm-project?rev=220742&view=rev
Log:
Update for LLVM API change.
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenAction.cpp?rev=220742&r1=220741&r2=220742&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Mon Oct 27 19:29:51 2014
@@ -154,7 +154,7 @@ namespace clang {
// Link LinkModule into this module if present, preserving its validity.
if (LinkModule) {
if (Linker::LinkModules(
- M, LinkModule.get(), Linker::PreserveSource,
+ M, LinkModule.get(),
[=](const DiagnosticInfo &DI) { linkerDiagnosticHandler(DI); }))
return;
}
More information about the cfe-commits
mailing list