mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Remove unused lambda capture
llvm-svn: 297675
This commit is contained in:
parent
aed67710d2
commit
2dbd650938
@ -318,7 +318,7 @@ static bool linkFiles(const char *argv0, LLVMContext &Context, Linker &L,
|
||||
if (InternalizeLinkedSymbols) {
|
||||
Err = L.linkInModule(
|
||||
std::move(M), ApplicableFlags, [](Module &M, const StringSet<> &GVS) {
|
||||
internalizeModule(M, [&M, &GVS](const GlobalValue &GV) {
|
||||
internalizeModule(M, [&GVS](const GlobalValue &GV) {
|
||||
return !GV.hasName() || (GVS.count(GV.getName()) == 0);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user