diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-16 20:02:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-16 20:02:13 -0700 |
commit | dfac0445d0813abe2260ffdc9eeb23671cefd812 (patch) | |
tree | 556c5aa73b9d7c676a02d6f7760479e3344479ed /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bda8c502bffa4f526bc3a7d22179ebfe398351c7 (diff) | |
download | llvm-dfac0445d0813abe2260ffdc9eeb23671cefd812.zip llvm-dfac0445d0813abe2260ffdc9eeb23671cefd812.tar.gz llvm-dfac0445d0813abe2260ffdc9eeb23671cefd812.tar.bz2 |
[lldb-dap] Avoid creating temporary instances of std::string (NFC) (#140325)
EmplaceSafeString accepts StringRef for the last parameter, str, and
then internally creates a copy of str via StringRef::str or
llvm::json::fixUTF8, so caller do not need to create their own
temporary instances of std::string.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions