forked from OSchip/llvm-project
Use StringRef instead of `const std::string &`. NFC.
llvm-svn: 331656
This commit is contained in:
parent
66a9f257b6
commit
e4ba06eda6
|
@ -79,9 +79,9 @@ static void checkError(Error E) {
|
|||
// SkipModuleByDistributedBackend flag which requests distributed backend
|
||||
// to skip the compilation of the corresponding module and produce an empty
|
||||
// object file.
|
||||
static void writeEmptyDistributedBuildOutputs(const std::string &ModulePath,
|
||||
const std::string &OldPrefix,
|
||||
const std::string &NewPrefix,
|
||||
static void writeEmptyDistributedBuildOutputs(StringRef ModulePath,
|
||||
StringRef OldPrefix,
|
||||
StringRef NewPrefix,
|
||||
bool SkipModule) {
|
||||
std::string NewModulePath =
|
||||
lto::getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix);
|
||||
|
|
Loading…
Reference in New Issue