diff options
| author | David Spickett <david.spickett@linaro.org> | 2024-08-19 16:33:46 +0100 |
|---|---|---|
| committer | David Spickett <david.spickett@linaro.org> | 2024-08-19 16:35:47 +0100 |
| commit | 08201cb4245b0a03e1af664e00a22ea4db1fc2fb (patch) | |
| tree | 330a18526c1d2f30660f20af6a3e9cce27b455ab /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 576aa3a50960f02e4dfe2d6ed2c55aa66006adcf (diff) | |
[lldb][test] Fix GCC warnings in TestGetControlFlowKindX86.cpp
```
<...>/TestGetControlFlowKindx86.cpp:148:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
148 | if (kind == eInstructionControlFlowKindReturn)
| ^
```
Usually llvm is a "no braces for single line body" project but
for whatever reason gcc objects to it here. Perhaps because it's
within a for loop.
Added the newlines just for readability.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
