llvm-project/clang/lib/Rewrite
Logan Smith 0cf6f7b128 [NFC][clang] Return underlying strings directly instead of OS.str()
This avoids an unnecessary copy required by 'return OS.str()', allowing
instead for NRVO or implicit move. The .str() call (which flushes the
stream) is no longer required since 65b13610a5,
which made raw_string_ostream unbuffered by default.

Differential Revision: https://reviews.llvm.org/D115374
2021-12-09 16:05:46 -08:00
..
CMakeLists.txt
DeltaTree.cpp [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
HTMLRewrite.cpp [NFC][clang] Return underlying strings directly instead of OS.str() 2021-12-09 16:05:46 -08:00
RewriteRope.cpp
Rewriter.cpp [clang] Use StringRef::contains (NFC) 2021-10-21 08:58:19 -07:00
TokenRewriter.cpp