diff options
| author | Baranov Victor <70346889+vbvictor@users.noreply.github.com> | 2025-02-20 00:47:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-20 05:47:17 +0800 |
| commit | 8363b0a6bab041b54316962e3e8948098148baeb (patch) | |
| tree | d4e5de158280096ce84e6c5032bb4af127e5d117 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 5f8b2568219d5e516928aed67f13b59de8ccee17 (diff) | |
[clang-tidy] add AllowedTypes option to misc-const-correctness (#122951)
Add option `AllowedTypes` which allow users to specify types they want
to exclude from const-correctness check.
Small real-world example:
```cpp
#include <mutex>
int main() {
std::mutex m;
std::lock_guard<std::mutex> l(m); // we want to ignore it since std::lock_guard is already immutable.
}
```
Closes issue https://github.com/llvm/llvm-project/issues/122592
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
