aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorWhisperity <whisperity@gmail.com>2021-07-20 16:05:54 +0200
committerWhisperity <whisperity@gmail.com>2021-07-22 10:20:17 +0200
commit473eff1c3057185758bf35f0c052a873b1bdb6a9 (patch)
treedd74b9007b408da2003b50fd7c67d9eef71e11db /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentcdc6f8d728208d2f06c1c632a41d930e172b4fb5 (diff)
downloadllvm-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/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions