diff options
| author | Whisperity <whisperity@gmail.com> | 2021-07-20 16:05:54 +0200 |
|---|---|---|
| committer | Whisperity <whisperity@gmail.com> | 2021-07-22 10:20:17 +0200 |
| commit | 473eff1c3057185758bf35f0c052a873b1bdb6a9 (patch) | |
| tree | dd74b9007b408da2003b50fd7c67d9eef71e11db /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | cdc6f8d728208d2f06c1c632a41d930e172b4fb5 (diff) | |
| download | llvm-473eff1c3057185758bf35f0c052a873b1bdb6a9.zip llvm-473eff1c3057185758bf35f0c052a873b1bdb6a9.tar.gz llvm-473eff1c3057185758bf35f0c052a873b1bdb6a9.tar.bz2 | |
[clang-tidy] Fix crash and handle AttributedType in 'bugprone-easily-swappable-parameters'
@vabridgers identified a way to crash the check by running on code that
involve `AttributedType`s. This patch fixes the check to first and
foremost not crash, but also improves the logic handling qualifiers.
If the types contain any additional (not just CVR) qualifiers that are
not the same, they will not be deemed mixable. The logic for CVR-Mixing
and the `QualifiersMix` check option remain unchanged.
Reviewed By: aaron.ballman, vabridgers
Differential Revision: http://reviews.llvm.org/D106361
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
