aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2025-04-23 15:21:34 -0700
committerGitHub <noreply@github.com>2025-04-23 15:21:34 -0700
commitdd17cf4480fc55c38813769a46fb2807397d8f72 (patch)
tree0fc5cdcc1fcc9988c120add1a8b716643ba7f2fa /clang/lib/CodeGen/CodeGenModule.cpp
parentcd826d6e840ed33ad88458c862da5f9fcc6e908c (diff)
downloadllvm-dd17cf4480fc55c38813769a46fb2807397d8f72.zip
llvm-dd17cf4480fc55c38813769a46fb2807397d8f72.tar.gz
llvm-dd17cf4480fc55c38813769a46fb2807397d8f72.tar.bz2
[lldb] Minor improvements to AddNamesMatchingPartialString (NFC) (#136760)
The primary changes are: 1. Avoid allocating a temporary `std::string` each time in the loop 2. Use `starts_with` instead of `find(...) == 0`
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions