summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/uninit-variables.m
Commit message (Collapse)AuthorAgeFilesLines
* Teach -Wuninitialized to recognize common "noreturn" idioms inTed Kremenek2012-09-131-0/+29
| | | | | | | | | | | | | Objective-C related to NSException. Fixes <rdar://problem/12287498> I debated whether or not this logic should be sunk into the CFG itself. It's not clear if we should, as different analyses may wish to have different policies. We can re-evaluate this in the future. llvm-svn: 163760
* Show either a location or a fixit note, not both, for uninitialized variable ↵David Blaikie2011-09-101-1/+1
| | | | | | warnings. llvm-svn: 139463
* Now that the analyzer is distinguishing between uninitialized uses thatChandler Carruth2011-04-081-1/+1
| | | | | | | definitely have a path leading to them, and possibly have a path leading to them; reflect that distinction in the warning text emitted. llvm-svn: 129126
* Take 2: merge -Wuninitialized-experimental into -Wuninitialized. Only ↵Ted Kremenek2011-03-151-1/+1
| | | | | | *must-be-uninitialized* warnings are reported, with *maybe-uninitialized* under a separate flag. I await any fallout/comments/feedback, although hopefully this will produce no noise for users. llvm-svn: 127670
* Move uninitialized variable checking back under ↵Ted Kremenek2011-02-071-1/+1
| | | | | | -Wuninitialized-experimental. It is clear from user feedback that this warning is not quite ready. llvm-svn: 125007
* Based on user feedback, swap -Wuninitialized diagnostics to have the warning ↵Ted Kremenek2011-02-021-2/+2
| | | | | | refer to the bad use, and the note to the variable declaration. llvm-svn: 124758
* Teach -Wuninitialized about ObjC fast enumeration loops.Ted Kremenek2011-01-271-0/+27
llvm-svn: 124347
OpenPOWER on IntegriCloud