aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2024-09-20 15:54:39 +0200
committerGitHub <noreply@github.com>2024-09-20 15:54:39 +0200
commit57b12e8fbc9bb29ebe8f9d2a0f2c5085b38c2454 (patch)
tree3f5cddd03e817b0dba219b76cc431a3656165c28 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentef44e4659878f256a46476efcf0398f3dd510f54 (diff)
downloadllvm-57b12e8fbc9bb29ebe8f9d2a0f2c5085b38c2454.zip
llvm-57b12e8fbc9bb29ebe8f9d2a0f2c5085b38c2454.tar.gz
llvm-57b12e8fbc9bb29ebe8f9d2a0f2c5085b38c2454.tar.bz2
[clangd] Improve robustness when clang-tidy check names contain leading spaces. (#109421)
The current logic assumes that check names do not have leading spaces. In cases like "-*, clang-diagnostic*", when processing the second check " clang-diagnostics-*" (with a leading space), the check fails on `CDPrefix.starts_with(Check)`, resulting in all diagnostics remaining disabled.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions