[LLVMbugs] [Bug 12214] New: warn on suspicious self-compound-assignments
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 8 20:56:50 PST 2012
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: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list