diff options
| author | Kazu Hirata <kazu@google.com> | 2024-08-22 10:19:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-22 10:19:56 -0700 |
| commit | b2cd81c93831fe256bddec5efa5a2765400076de (patch) | |
| tree | 4c434d6b3de936853ec8bd255b472acc60704bf2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 6b11573b8c5e3d36beee099dbe7347c2a007bf53 (diff) | |
[IR] Simplify comparisons with std::optional (NFC) (#105624)
For variable X of type std::optional, X && X.value_or(Y) == Z is
equivalent to X == Z when Y != Z.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
