aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-16 20:02:13 -0700
committerGitHub <noreply@github.com>2025-05-16 20:02:13 -0700
commitdfac0445d0813abe2260ffdc9eeb23671cefd812 (patch)
tree556c5aa73b9d7c676a02d6f7760479e3344479ed /clang/lib/Frontend/CompilerInvocation.cpp
parentbda8c502bffa4f526bc3a7d22179ebfe398351c7 (diff)
downloadllvm-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