diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2025-11-07 17:17:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 17:17:03 -0800 |
| commit | 77a194cb09e23810e449c4bc6e6be8355d2daf47 (patch) | |
| tree | 416e1a93b7921fda5df14d35d0fc01fe285c211f /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h | |
| parent | baf41d214349cfa5192ac2295b2ef9db6a68038a (diff) | |
| download | llvm-77a194cb09e23810e449c4bc6e6be8355d2daf47.zip llvm-77a194cb09e23810e449c4bc6e6be8355d2daf47.tar.gz llvm-77a194cb09e23810e449c4bc6e6be8355d2daf47.tar.bz2 | |
[NFC][CodeGen] Replace loop with "if !empty()" (#166515)
The loop iterates once and returns the first element.
Replace it with "if !empty()" to make it more explicit.
Follow up to https://github.com/llvm/llvm-project/pull/158193.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h')
0 files changed, 0 insertions, 0 deletions
