https://bugs.llvm.org/show_bug.cgi?id=47101
Bug ID: 47101
Summary: LHS and RHS of a logical binary-operator (&&, ||),
relational/equality binary-operator expression should
not contain the same
sub-expression.(llvm-project/lldb/source/Plugins/Symbo
lFile/DWARF/AppleDWARFIndex.cpp:line 45 )
Product: lldb
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev@lists.llvm.org
Reporter: i...@ustchcs.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org
LHS and RHS of a logical binary-operator (&&, ||), relational/equality
binary-operator expression should not contain the same sub-expression.
(Perhaps, duplicated sub-conditions are introduced by copy-paste.)
commit e3546c78cabfbf670391a57766872f0a8e28a423
llvm-project/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp:line 45
45 if (apple_names_table_up || apple_names_table_up ||
apple_types_table_up ||
46 apple_objc_table_up)
47 return std::make_unique<AppleDWARFIndex>(
48 module, std::move(apple_names_table_up),
49 std::move(apple_namespaces_table_up),
std::move(apple_types_table_up),
50 std::move(apple_objc_table_up));
51
52 return nullptr;
53 }
Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-2.3: LHS and RHS of a logical binary-operator (&&, ||),
relational/equality binary-operator expression should not contain the same
sub-expression.)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev