diff options
| author | cor3ntin <corentinjabot@gmail.com> | 2025-02-21 15:52:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-21 15:52:09 +0100 |
| commit | b732e14cb5681abff78e3873987a2a8b39549c83 (patch) | |
| tree | 13881f57f6f60e69d3dcf80a7fdff49e5e88570e /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | bff6b926e2a42c15451058828fca313ff40e36dd (diff) | |
[Clang] Default the warning for chained comparison to an error. (#128145)
Boolean constructs of the form `a < b < c`
never express the likely intent of the user and
we have been warning on them since clang 19.
WG21 is likely to deprecate or make that construct in the future. To
gain more experience and to improve safety, this patches preempt future
language evolution by turning
warn_consecutive_comparison in an error, by default (which can be
disabled with `-Wno-error=parentheses`)
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
