[all-commits] [llvm/llvm-project] 4b27b5: [lld] Nits on uses of raw_string_ostream (NFC)

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Sun Sep 15 01:26:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b27b5800f8c94ec010213e2a4ddf552cc282bce
      https://github.com/llvm/llvm-project/commit/4b27b5800f8c94ec010213e2a4ddf552cc282bce
  Author: JOE1994 <joseph942010 at gmail.com>
  Date:   2024-09-15 (Sun, 15 Sep 2024)

  Changed paths:
    M lld/COFF/Chunks.cpp
    M lld/COFF/DriverUtils.cpp
    M lld/COFF/SymbolTable.cpp
    M lld/ELF/Driver.cpp
    M lld/ELF/Thunks.cpp
    M lld/ELF/Writer.cpp
    M lld/MachO/Driver.cpp
    M lld/wasm/OutputSections.cpp
    M lld/wasm/SyntheticSections.cpp
    M lld/wasm/SyntheticSections.h
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld] Nits on uses of raw_string_ostream (NFC)

* Don't call raw_string_ostream::flush(), which is essentially a no-op.
* Strip calls to raw_string_ostream::str(), to avoid excess layer of indirection.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list