https://llvm.org/bugs/show_bug.cgi?id=27470
Bug ID: 27470
Summary: llvm/lib/IR/LLVMContextImpl.h:602: pointless
duplication ?
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
[trunk/llvm/lib/IR/LLVMContextImpl.h:602]: (style) Same expression on both
sides of '||'.
Source code is
if (IsDefinition || !Scope || !LinkageName || !Scope ||
!isa<MDString>(Scope))
Maybe better code
if (IsDefinition || !Scope || !LinkageName ||
!isa<MDString>(Scope))
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs