Skip to content

Commit 0ed7c36

Browse files
committed
Fix some formatting issues.
1 parent fcd26b0 commit 0ed7c36

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

llvm/include/llvm/MC/MCSymbolGOFF.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ class MCSymbolGOFF : public MCSymbol {
6868
}
6969
MCSectionGOFF *getADA() const { return ADA; }
7070

71-
void setOwner(MCSectionGOFF *Owner) {
72-
this->Owner = Owner;
73-
}
71+
void setOwner(MCSectionGOFF *Owner) { this->Owner = Owner; }
7472
MCSectionGOFF *getOwner() const { return Owner; }
7573

7674
bool isExternal() const { return IsExternal; }

llvm/lib/MC/MCSymbolGOFF.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void MCSymbolGOFF::initAttributes() {
4141
} else
4242
llvm_unreachable("Unexpected section type for label");
4343
} else {
44-
setERAttributes(GOFF::ERAttr{CodeData, BindingStrength,
45-
GOFF::ESD_LT_XPLink, BindingScope});
44+
setERAttributes(GOFF::ERAttr{CodeData, BindingStrength, GOFF::ESD_LT_XPLink,
45+
BindingScope});
4646
}
4747
}

llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,8 +1118,9 @@ void SystemZAsmPrinter::emitEndOfAsmFile(Module &M) {
11181118
for (auto &GO : M.global_objects()) {
11191119
if (GO.isDeclaration()) {
11201120
MCSymbol *Sym = TM.getSymbol(&GO);
1121-
OutStreamer->emitSymbolAttribute(
1122-
Sym, GO.hasExternalWeakLinkage() ? MCSA_WeakReference : MCSA_Global);
1121+
OutStreamer->emitSymbolAttribute(Sym, GO.hasExternalWeakLinkage()
1122+
? MCSA_WeakReference
1123+
: MCSA_Global);
11231124
OutStreamer->emitSymbolAttribute(Sym, isa<Function>(GO) ? MCSA_Code
11241125
: MCSA_Data);
11251126
}

0 commit comments

Comments
 (0)