llvm-project
e7a23c40 - [llvm] Remove redundant str() and c_str() (NFC) (#166012)

Commit
69 days ago
[llvm] Remove redundant str() and c_str() (NFC) (#166012) io.mapRequired takes StringRef as the key type. As such, we do not need to create extraneous copies with str().c_str() or str(). Identified with readability-redundant-string-cstr.
Parents
Loading