Skip to content

Commit 3275896

Browse files
committed
clang-format
1 parent 7bebb7e commit 3275896

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

llvm/lib/Transforms/IPO/FunctionImport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ Expected<bool> FunctionImporter::importFunctions(
19511951

19521952
// Link in the specified functions.
19531953
renameModuleForThinLTO(*SrcModule, Index, ClearDSOLocalOnDeclarations,
1954-
&GlobalsToImport);
1954+
&GlobalsToImport);
19551955

19561956
if (PrintImports) {
19571957
for (const auto *GV : GlobalsToImport)
@@ -2026,7 +2026,7 @@ static bool doImportingForModuleForTest(
20262026
// Next we need to promote to global scope and rename any local values that
20272027
// are potentially exported to other modules.
20282028
renameModuleForThinLTO(M, *Index, /*ClearDSOLocalOnDeclarations=*/false,
2029-
/*GlobalsToImport=*/nullptr);
2029+
/*GlobalsToImport=*/nullptr);
20302030

20312031
// Perform the import now.
20322032
auto ModuleLoader = [&M](StringRef Identifier) {

llvm/lib/Transforms/Utils/FunctionImportUtils.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,7 @@ void FunctionImportGlobalProcessing::processGlobalsForThinLTO() {
331331
}
332332
}
333333

334-
void FunctionImportGlobalProcessing::run() {
335-
processGlobalsForThinLTO();
336-
}
334+
void FunctionImportGlobalProcessing::run() { processGlobalsForThinLTO(); }
337335

338336
void llvm::renameModuleForThinLTO(Module &M, const ModuleSummaryIndex &Index,
339337
bool ClearDSOLocalOnDeclarations,

llvm/tools/llvm-link/llvm-link.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ static bool linkFiles(const char *argv0, LLVMContext &Context, Linker &L,
450450

451451
// Promotion
452452
renameModuleForThinLTO(*M, *Index,
453-
/*ClearDSOLocalOnDeclarations=*/false);
453+
/*ClearDSOLocalOnDeclarations=*/false);
454454
}
455455

456456
if (Verbose)

0 commit comments

Comments
 (0)