http://llvm.org/bugs/show_bug.cgi?id=11510
Bug #: 11510
Summary: [qoi] warn about dead boolean op
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
It would be nice for us to warn on this:
--
ddunbar@lordcrumb:tmp$ cat t.c
int f0(void);
int f0(void) {
return 1 | 1;
}
ddunbar@lordcrumb:tmp$ clang -Weverything -c t.c
ddunbar@lordcrumb:tmp$
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs