diff options
| author | Kazu Hirata <kazu@google.com> | 2025-11-01 12:42:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-01 12:42:06 -0700 |
| commit | e7a23c4020840e8e0a2e7f535306cd08f3a8fced (patch) | |
| tree | 3c37c121da1f95b114d717f413a1046cb32438b2 /llvm/tools/llvm-diff/lib/DifferenceEngine.h | |
| parent | 61e966ec9020833cad3aef2c65baae289d967871 (diff) | |
| download | llvm-e7a23c4020840e8e0a2e7f535306cd08f3a8fced.zip llvm-e7a23c4020840e8e0a2e7f535306cd08f3a8fced.tar.gz llvm-e7a23c4020840e8e0a2e7f535306cd08f3a8fced.tar.bz2 | |
[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.
Diffstat (limited to 'llvm/tools/llvm-diff/lib/DifferenceEngine.h')
0 files changed, 0 insertions, 0 deletions
