[all-commits] [llvm/llvm-project] 30bfab: [lldb] Remove redundant condition in watch mask ch...
Shivam Gupta via All-commits
all-commits at lists.llvm.org
Mon Jun 10 01:24:17 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 30bfab3694075cfec9409821be0cfe79ae5d0770
https://github.com/llvm/llvm-project/commit/30bfab3694075cfec9409821be0cfe79ae5d0770
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
Log Message:
-----------
[lldb] Remove redundant condition in watch mask check (NFC) (#94842)
This issue is reported by cppcheck as a pointless test in the watch mask
check. The `else if` condition is opposite to the previous `if`
condition, making the expression always true.
Caught by cppcheck -
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp:509:25:
style: Expression is always true because 'else if' condition is opposite
to previous condition at line 505. [multiCondition]
Fix #91223
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list