Skip to content

Commit 0b1df1c

Browse files
[NFC]Don't use else after a return
1 parent c8ec807 commit 0b1df1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,8 @@ MCSection *TargetLoweringObjectFileELF::getUniqueSectionForFunction(
983983
return selectExplicitSectionGlobal(
984984
&F, Kind, TM, getContext(), getMangler(), NextUniqueID,
985985
Used.count(&F), /* ForceUnique = */true);
986-
else
987-
return selectELFSectionForGlobal(
986+
987+
return selectELFSectionForGlobal(
988988
getContext(), &F, Kind, getMangler(), TM, Used.count(&F),
989989
/*EmitUniqueSection=*/true, Flags, &NextUniqueID);
990990
}

0 commit comments

Comments
 (0)