diff options
| author | Julian Schmidt <git.julian.schmidt@gmail.com> | 2024-10-31 09:13:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 09:13:51 +0100 |
| commit | a776bd1a92126bf9bd1b51511364194fd75aa606 (patch) | |
| tree | fd02c3e000d55bd650baf20402ffcb1066de0fd4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 1897bf61f0bc85c8637997d0f2aa7d94d375d787 (diff) | |
[clang-tidy] support `return c ? a : b;` in bugprone-return-const-ref-from-parameter (#107657)
A `const &` parameter can also be returned via a conditional operator:
`c ? a : b`. This change adds support for diagnosing returning these
parameters
with conditional operators.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
