llvm-project
e7a23c40
- [llvm] Remove redundant str() and c_str() (NFC) (#166012)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#166012 - [llvm] Remove redundant str() and c_str() (NFC)
Author
kazutakahirata
Parents
61e966ec
Loading