http://llvm.org/bugs/show_bug.cgi?id=12214
Bug #: 12214
Summary: warn on suspicious self-compound-assignments
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
I just typoed this:
AnyThings |= AnyThings;
... when I meant ...
AnyThings |= IsThisAThing;
... and clang didn't even look at me a bit funny. It'd be great for us to warn
on code similar to this.
--
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