llvm-project
57b12e8f - [clangd] Improve robustness when clang-tidy check names contain leading spaces. (#109421)

Commit
1 year ago
[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.
Author
Parents
Loading