Pass enum instead of bool to new linkInModule call in llvm-link
[oota-llvm.git] / tools / llvm-link / llvm-link.cpp
index 718d57a343fa29c6c1a1fdee034418dfaab63374..8d0ce0a040f9e03e690516977167286147ca019b 100644 (file)
@@ -215,7 +215,7 @@ static bool importFunctions(const char *argv0, LLVMContext &Context,
     }
 
     // Link in the specified function.
-    if (L.linkInModule(M.get(), false, Index.get(), F))
+    if (L.linkInModule(M.get(), Linker::Flags::None, Index.get(), F))
       return false;
   }
   return true;