diff options
| author | Michael Kruse <llvm-project@meinersbur.de> | 2020-02-10 11:13:00 -0600 |
|---|---|---|
| committer | Michael Kruse <llvm-project@meinersbur.de> | 2020-02-10 11:38:22 -0600 |
| commit | 84c934a5cbe2fdb7e0bb61a94e4dfa5e6cc3e0b2 (patch) | |
| tree | 4debd6dd8b7de0c8bb16d606b24f15d8c4affc2e /lldb/test/API/python_api/module_section/TestModuleAndSection.py | |
| parent | 83003db430b90cb522a5c8fd147a59acb011d677 (diff) | |
Silence compiler warning. NFC.
The idiom
for (auto i = n - n; i < n; i += 1)
was intended to automatically derive the type of i from n
(signed/unsigned int) and avoid the 'mixed signed/unsigned comparison'
warning. However, almost-always-auto was never used in the LLVM coding
style (although we used it in Polly for some time) and I did never
intended to use this idiom upstream.
PVS Studio may warns about this idiom as 'warning: both sides of
operator are equivalent [misc-redundant-expression]'.
Remove the use of auto and directly use unsigned.
Also see http://llvm.org/PR44768
Diffstat (limited to 'lldb/test/API/python_api/module_section/TestModuleAndSection.py')
0 files changed, 0 insertions, 0 deletions
