[Bug 47083] New: then-branch and else-branch of the same if-statement should not be the same.(llvm-project/lldb/source/Symbol/ArmUnwindInfo.cpp:line 316 )

Bug ID 47083
Summary then-branch and else-branch of the same if-statement should not be the same.(llvm-project/lldb/source/Symbol/ArmUnwindInfo.cpp:line 316 )
Product lldb
Version unspecified
Hardware All
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter info@ustchcs.com
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

then-branch and else-branch of the same if-statement should not be the same.

commit e3546c78cabfbf670391a57766872f0a8e28a423 

llvm-project/lldb/source/Symbol/ArmUnwindInfo.cpp:line 316 

   316      } else if ((byte1 & 0xc0) == 0xc0) {
   317        // 11xxxyyy Spare (xxx != 000, 001, 010)
   318        return false;
   319      } else {
   320        return false;
   321      }
   322    }

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-2.1: then-branch and else-branch of the same if-statement should not
be the same.)