[all-commits] [llvm/llvm-project] 53bc35: [polly] Tidy uses of raw_string_ostream (NFC)
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Tue Sep 17 08:02:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53bc35a80a844601c10c8bb75832cbee3ba841ac
https://github.com/llvm/llvm-project/commit/53bc35a80a844601c10c8bb75832cbee3ba841ac
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-09-17 (Tue, 17 Sep 2024)
Changed paths:
M polly/lib/Analysis/ScopDetectionDiagnostic.cpp
M polly/lib/Analysis/ScopInfo.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
M polly/lib/Exchange/JSONExporter.cpp
Log Message:
-----------
[polly] 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 )
* Don't call raw_string_ostream::flush(), which is essentially a no-op.
* 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