aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-05-10 17:53:45 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-05-10 17:53:47 +0800
commit48bbc64a8ff5e3777a76a02cffd94b3786b93203 (patch)
treefa76f2e6fe08bc7c40752d352019f414b669afc2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentb6c7177145bc439c712208bfbe041db212c5262d (diff)
downloadllvm-48bbc64a8ff5e3777a76a02cffd94b3786b93203.zip
llvm-48bbc64a8ff5e3777a76a02cffd94b3786b93203.tar.gz
llvm-48bbc64a8ff5e3777a76a02cffd94b3786b93203.tar.bz2
[NFC] [C++20] [Modules] Code cleanups when checking modules in ADL
The original code uses getTopLevelModuleName to compare if the module matches. This is an overkill. Since in one program there will only be at most one module name. So it is good enough to compare the module directly. So that we can save some string comparisons.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions