[llvm-bugs] [Bug 34247] New: trunk/llvm/tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp:235]: (style) Redundant condition:
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Aug 20 10:46:54 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34247
Bug ID: 34247
Summary: trunk/llvm/tools/clang/lib/Driver/ToolChains/Arch/Mips
.cpp:235]: (style) Redundant condition:
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dcb314 at hotmail.com
CC: llvm-bugs at lists.llvm.org
trunk/llvm/tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp:235]: (style)
Redundant condition: ABICallsArg. '!A || (A && B)' is equivalent to '!A || B'
Source code is
UseAbiCalls =
!ABICallsArg ||
(ABICallsArg &&
ABICallsArg->getOption().matches(options::OPT_mabicalls));
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170820/d36b793e/attachment.html>
More information about the llvm-bugs
mailing list