Skip to content
Commit 715c72b4 authored by Logan Smith's avatar Logan Smith
Browse files

[NFC][analyzer] 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 65b13610,
which made raw_string_ostream unbuffered by default.

Differential Revision: https://reviews.llvm.org/D115374
parent 76d3d078
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment