From 37ad134219cf77141304dfe168e5b32925b18cd6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 28 Oct 2014 00:29:51 +0000 Subject: [PATCH] Update for LLVM API change. llvm-svn: 220742 --- clang/lib/CodeGen/CodeGenAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index 0bd53b8..1eb59bd 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -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; } -- 2.7.4