[LLVMbugs] [Bug 11321] New: Warn on folded constants that look like bad date math
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Nov 6 10:23:19 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=11321
Bug #: 11321
Summary: Warn on folded constants that look like bad date math
Product: clang
Version: 2.8
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: tjw at me.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In celebration of the DST transition today, please consider adding a static
analyzer check for the folded constant 86400 (24*60*60), either integer or
floating point. Days do not necessarily have 86400 seconds and any occurrence
of this constant almost certainly represents such an assumption.
--
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