diff options
| author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-05-10 17:53:45 +0800 |
|---|---|---|
| committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-05-10 17:53:47 +0800 |
| commit | 48bbc64a8ff5e3777a76a02cffd94b3786b93203 (patch) | |
| tree | fa76f2e6fe08bc7c40752d352019f414b669afc2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | b6c7177145bc439c712208bfbe041db212c5262d (diff) | |
| download | llvm-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
