Skip to content

Commit 37f7a1e

Browse files
committed
Fix formatting & move method out of anonymous namespace
1 parent c9b5b19 commit 37f7a1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/MC/GOFFObjectWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ class TextStream : public raw_ostream {
443443

444444
~TextStream() { flush(); }
445445
};
446+
} // namespace
446447

447448
void TextStream::write_impl(const char *Ptr, size_t Size) {
448449
size_t WrittenLength = 0;
@@ -469,7 +470,6 @@ void TextStream::write_impl(const char *Ptr, size_t Size) {
469470
Offset += ToWriteLength;
470471
}
471472
}
472-
} // namespace
473473

474474
void GOFFWriter::writeText(const MCSectionGOFF *Section) {
475475
// A BSS section contains only zeros, no need to write this.
@@ -504,7 +504,7 @@ uint64_t GOFFWriter::writeObject() {
504504
defineSymbols();
505505

506506
for (const MCSection &Section : Asm)
507-
writeText(static_cast<const MCSectionGOFF*>(&Section));
507+
writeText(static_cast<const MCSectionGOFF *>(&Section));
508508

509509
writeEnd();
510510

0 commit comments

Comments
 (0)