[all-commits] [llvm/llvm-project] ffc80d: [mlir] Nits on uses of llvm::raw_string_ostream (NFC)

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Sun Sep 15 18:08:32 PDT 2024


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

  Changed paths:
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
    M mlir/tools/mlir-pdll/mlir-pdll.cpp
    M mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
    M mlir/tools/mlir-tblgen/OpDocGen.cpp
    M mlir/unittests/Bytecode/BytecodeTest.cpp
    M mlir/unittests/IR/AttributeTest.cpp
    M mlir/unittests/IR/OpPropertiesTest.cpp
    M mlir/unittests/Support/IndentedOstreamTest.cpp

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

* Don't call raw_string_ostream::flush(), which is essentially a no-op
* Strip unneeded calls to raw_string_ostream::str(), to avoid excess 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