[lldb-dev] [Bug 47101] New: 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/SymbolFile/DWARF/AppleDWARFIndex.cpp:line 45 )
via lldb-dev
lldb-dev at lists.llvm.org
Mon Aug 10 18:33:27 PDT 2020
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 at lists.llvm.org
Reporter: info at ustchcs.com
CC: jdevlieghere at apple.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200811/28753ba6/attachment.html>
More information about the lldb-dev
mailing list