[all-commits] [llvm/llvm-project] d5dd7d: [flang] Tidy uses of raw_string_ostream (NFC)
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Tue Sep 17 10:20:55 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5dd7d230ecaf8242f4429a5e3653e16bf55bcd6
https://github.com/llvm/llvm-project/commit/d5dd7d230ecaf8242f4429a5e3653e16bf55bcd6
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-09-17 (Tue, 17 Sep 2024)
Changed paths:
M flang/include/flang/Parser/dump-parse-tree.h
M flang/lib/Evaluate/formatting.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/scope.cpp
M flang/lib/Semantics/tools.cpp
M flang/lib/Semantics/type.cpp
M flang/unittests/Evaluate/real.cpp
M flang/unittests/Frontend/CodeGenActionTest.cpp
M flang/unittests/Frontend/CompilerInstanceTest.cpp
Log Message:
-----------
[flang] Tidy uses of raw_string_ostream (NFC)
As specified in the docs,
1) raw_string_ostream is always unbuffered and
2) the underlying buffer may be used directly
( 65b13610a5226b84889b923bae884ba395ad084d for further reference )
Avoid 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