Skip to content

Commit fe56bd4

Browse files
committed
Lint
1 parent cc61c28 commit fe56bd4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ uint64_t MachOLayoutBuilder::layoutSegments() {
118118
uint64_t Offset = IsObjectFile ? (HeaderSize + O.Header.SizeOfCmds) : 0;
119119
// If we are emitting an encryptable binary, our load commands must have a
120120
// separate (non-encrypted) page to themselves.
121-
bool FirstSectExtraEncryptableOffset = O.EncryptionInfoCommandIndex.has_value();
121+
bool FirstSectExtraEncryptableOffset =
122+
O.EncryptionInfoCommandIndex.has_value();
122123
for (LoadCommand &LC : O.LoadCommands) {
123124
auto &MLC = LC.MachOLoadCommand;
124125
StringRef Segname;
@@ -173,7 +174,7 @@ uint64_t MachOLayoutBuilder::layoutSegments() {
173174
Sec->Offset = 0;
174175
} else {
175176
if (FirstSectExtraEncryptableOffset) {
176-
SectOffset = alignToPowerOf2(SectOffset, PageSize);
177+
SectOffset = alignToPowerOf2(SectOffset, PageSize);
177178
FirstSectExtraEncryptableOffset = false;
178179
}
179180
Sec->Offset = SegOffset + SectOffset;

0 commit comments

Comments
 (0)