Thanks Sean Silva for catching this.
From: Mehdi Amini <mehdi.amini@apple.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254584
91177308-0d34-0410-b5e6-
96231b3b80d8
}
// Link in the specified function.
- DenseSet<const GlobalValue *> FunctionToImport;
- FunctionToImport.insert(F);
+ DenseSet<const GlobalValue *> FunctionsToImport;
+ FunctionsToImport.insert(F);
if (L.linkInModule(*M, Linker::Flags::None, Index.get(),
- &FunctionToImport))
+ &FunctionsToImport))
return false;
}
return true;