- Mar 23, 2009
-
-
Ted Kremenek authored
A test case to test that -warn-dead-stores does not emit a warning for stores to variables marked with '#pragma unused'. llvm-svn: 67570
-
- Feb 18, 2009
-
-
Ted Kremenek authored
Update several tests to explicitly use BasicConstraintManager as well as to use RangeConstraintManager with RegionStoreManager. llvm-svn: 64854
-
- Feb 14, 2009
-
-
Douglas Gregor authored
printf-like functions, both builtin functions and those in the C library. The function-call checker now queries this attribute do determine if we have a printf-like function, rather than scanning through the list of "known functions IDs". However, there are 5 functions they are not yet "builtins", so the function-call checker handles them specifically still: - fprintf and vfprintf: the builtins mechanism cannot (yet) express FILE* arguments, so these can't be encoded. - NSLog: the builtins mechanism cannot (yet) express NSString* arguments, so this (and NSLogv) can't be encoded. - asprintf and vasprintf: these aren't part of the C99 standard library, so we really shouldn't be defining them as builtins in the general case (and we don't seem to have the machinery to make them builtins only on certain targets and depending on whether extensions are enabled). llvm-svn: 64512
-
- Feb 09, 2009
-
-
Ted Kremenek authored
Fix PR 2514: Do not flag dead initializations for variables initialized to a constant global variable. llvm-svn: 64149
-
- Jan 21, 2009
-
-
Daniel Dunbar authored
individual checker options. llvm-svn: 62634
-
- Jan 20, 2009
-
-
rdar://problem/6506065Ted Kremenek authored
Dead stores checker: Fix <rdar://problem/6506065> by being more selective when say that a store is dead even though the computed value is used in the enclosing expression. llvm-svn: 62552
-
- Jan 09, 2009
-
-
Ted Kremenek authored
Dead stores checker: Don't flag dead stores for self-assignments (common escape hatch for 'unused variable' warnings). llvm-svn: 62010
-
- Oct 15, 2008
-
-
Ted Kremenek authored
Enhance dead store checker to not flag preincrements to dead variables where the preincrement is a subexpression, e.g. foo(++x); This can cause false negatives, but will remove a whole class of false positives. llvm-svn: 57554
-
- Sep 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 56707
-
Ted Kremenek authored
llvm-svn: 56706
-
- Sep 26, 2008
-
-
Ted Kremenek authored
Fixes <rdar://problem/6248086> llvm-svn: 56645
-
- Sep 04, 2008
-
-
Ted Kremenek authored
llvm-svn: 55801
-
- Aug 07, 2008
-
-
Ted Kremenek authored
llvm-svn: 54436
-
- Aug 05, 2008
-
-
Daniel Dunbar authored
- Like EXTENSION but always generates a warning (even without -pedantic). - Updated ptr -> int, int -> ptr, and incompatible cast warnings to be EXTWARN. - Other EXTENSION level diagnostics should be audited for upgrade. - Updated several test cases to fix code which produced unanticipated warnings. llvm-svn: 54335
-
- Jul 25, 2008
-
-
Ted Kremenek authored
This fixes PR 2573: http://llvm.org/bugs/show_bug.cgi?id=2573 llvm-svn: 54009
-
- Jul 24, 2008
-
-
Ted Kremenek authored
llvm-svn: 53983
-
Ted Kremenek authored
llvm-svn: 53966
-
- Jul 23, 2008
-
-
Ted Kremenek authored
llvm-svn: 53960
-
- Jul 04, 2008
-
-
Ted Kremenek authored
'&&' clang commands together so that the test status reflects the results of all three clang executions. llvm-svn: 53132
-
- Jul 03, 2008
-
-
Ted Kremenek authored
Update test case: simply running "clang -checker-simple" doesn't invoke the dead store checker anymore. We need "-warn-dead-stores" as well. llvm-svn: 53055
-
- Jun 21, 2008
-
-
Ted Kremenek authored
llvm-svn: 52568
-
- Jun 20, 2008
-
-
Ted Kremenek authored
1) Check if a dead store appears as a subexpression. For such cases, we emit a verbose diagnostic so that users aren't confused. This addresses: <rdar://problem/5968508> checker gives misleading report for dead store in loop 2) Don't emit a dead store warning when assigning a null value to a pointer. This is a common form of defensive programming. We may wish to make this an option to the the checker one day. This addresses the feature request in the following email: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-June/001978.html llvm-svn: 52555
-
- May 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 51395
-
- May 06, 2008
-
-
Ted Kremenek authored
llvm-svn: 50679
-
- Apr 15, 2008
-
-
Ted Kremenek authored
llvm-svn: 49735
-
- Apr 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 49647
-
- Mar 19, 2008
-
-
Ted Kremenek authored
llvm-svn: 48539
-
- Nov 24, 2007
-
-
Ted Kremenek authored
llvm-svn: 44305
-
- Nov 20, 2007
-
-
Ted Kremenek authored
block-level expressions are evaluated the same as regular expressions. Test case provided by Nuno Lopes. llvm-svn: 44247
-
- Nov 19, 2007
-
-
Ted Kremenek authored
for correct propagation/update of liveness information within subexpressions of Block-Level expressions. Test case provided by Nuno Lopes. llvm-svn: 44225
-
- Nov 18, 2007
-
-
Ted Kremenek authored
llvm-svn: 44221
-