[all-commits] [llvm/llvm-project] 918972: [clang] Strip unneeded calls to raw_string_ostream...

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Sat Sep 14 01:49:15 PDT 2024


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

  Changed paths:
    M clang/tools/clang-refactor/ClangRefactor.cpp
    M clang/tools/driver/cc1gen_reproducer_main.cpp
    M clang/unittests/AST/SourceLocationTest.cpp
    M clang/unittests/AST/TemplateNameTest.cpp
    M clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
    M clang/unittests/Frontend/OutputStreamTest.cpp
    M clang/unittests/StaticAnalyzer/RangeSetTest.cpp
    M clang/unittests/Tooling/ASTSelectionTest.cpp
    M clang/unittests/Tooling/DiagnosticsYamlTest.cpp
    M clang/unittests/Tooling/RecursiveASTVisitorTestDeclVisitor.cpp
    M clang/unittests/Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
    M clang/unittests/Tooling/RefactoringTest.cpp
    M clang/unittests/Tooling/RewriterTestContext.h
    M clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
    M clang/utils/TableGen/MveEmitter.cpp

  Log Message:
  -----------
  [clang] Strip unneeded calls to raw_string_ostream::str() (NFC)

Avoid extra layer of indirection.

p.s.
Also, remove calls to raw_string_ostream::flush(), which are no-ops.



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