diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp index bcd19d9fc3a1..239d604f57c0 100644 --- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp @@ -1141,8 +1141,8 @@ struct LLVMRustThinLTOModule { // This is copied from `lib/LTO/ThinLTOCodeGenerator.cpp`, not sure what it // does. -static const GlobalValueSummary * -getFirstDefinitionForLinker(ArrayRef> GVSummaryList) { +static const GlobalValueSummary *getFirstDefinitionForLinker( + ArrayRef> GVSummaryList) { auto StrongDefForLinker = llvm::find_if( GVSummaryList, [](const std::unique_ptr &Summary) { auto Linkage = Summary->linkage();