Skip to content

Commit

Permalink
Pass enum instead of bool to new linkInModule call in llvm-link
Browse files Browse the repository at this point in the history
A new call I added to linkInModule from llvm-link in r251866
was still passing in a boolean for an argument that was changed to an
enum in r246561. I didn't catch this in my merge since the bool false
matched the flag value it mapped to.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251925 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
teresajohnson committed Nov 3, 2015
1 parent 32a2349 commit fb792d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/llvm-link/llvm-link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb792d3

Please sign in to comment.