- Jan 04, 2013
-
-
Ted Kremenek authored
NSErrorChecker: remove quoting the parameter name in the diagnostic until we actually include it's name. This is a possible regression of moving to using ImplicitNullDerefEvent. Fixing this for real (including the parameter name) requires more plumbing in ImplicitNullDerefEvent. This is just a stop gap fix. llvm-svn: 171502
-
Ted Kremenek authored
llvm-svn: 171501
-
- Jan 03, 2013
-
-
Ted Kremenek authored
llvm-svn: 171439
-
Anna Zaks authored
This better reflects when callback is called and what the checkers are relying on. (Both names meant the same pre-IPA.) llvm-svn: 171432
-
- Dec 22, 2012
-
-
Ted Kremenek authored
Fix typo: objc_no_direct_instance_variable_assignmemt => objc_no_direct_instance_variable_assignment. Fixes <rdar://problem/12927551>. llvm-svn: 170971
-
Anna Zaks authored
The new callback greatly simplifies the checker. llvm-svn: 170969
-
- Dec 21, 2012
-
-
Anna Zaks authored
llvm-svn: 170832
-
- Dec 20, 2012
-
-
Ted Kremenek authored
Fixes <rdar://problem/12887356>. llvm-svn: 170724
-
Anna Zaks authored
Instead of using several callbacks to identify the pointer escape event, checkers now can register for the checkPointerEscape. Converted the Malloc checker to use the new callback. SimpleStreamChecker will be converted next. llvm-svn: 170625
-
- Dec 17, 2012
-
-
Argyrios Kyrtzidis authored
llvm-svn: 170364
-
- Dec 13, 2012
-
-
Jordan Rose authored
Thanks for the -Wdocumentation catch, Dmitri! llvm-svn: 170139
-
Jordan Rose authored
We now check a few methods for UIResponder, NSResponder, and NSDocument. Patch by Julian Mayer! llvm-svn: 170089
-
Anna Zaks authored
This is a Band-Aid fix to a false positive, where we complain about not initializing self to [super init], where self is not coming from the init method, but is coming from the caller to init. The proper solution would be to associate the self and it's state with the enclosing init. llvm-svn: 170059
-
- Dec 11, 2012
-
-
Anna Zaks authored
inlined. Fixes a false positive that occurs if a user writes their own initWithBytesNoCopy:freeWhenDone wrapper. llvm-svn: 169795
-
- Dec 06, 2012
-
-
Jordan Rose authored
Previously we made three passes over the set of dead symbols, and removed them from the state /twice/. Now we combine the autorelease pass and the symbol death pass, and only have to remove the bindings for the symbols that leaked. llvm-svn: 169527
-
Ted Kremenek authored
This is a nice conceptual cleanup. llvm-svn: 169480
-
Ted Kremenek authored
llvm-svn: 169478
-
- Dec 05, 2012
-
-
Daniel Jasper authored
llvm-svn: 169365
-
Anna Zaks authored
This will only check the direct ivar assignments in the annotated methods. llvm-svn: 169349
-
- Dec 04, 2012
-
-
Ted Kremenek authored
llvm-svn: 169318
-
Chandler Carruth authored
uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237
-
- Dec 01, 2012
-
-
Benjamin Kramer authored
llvm-svn: 169097
-
Benjamin Kramer authored
llvm-svn: 169095
-
Benjamin Kramer authored
Recursively prune some includes. llvm-svn: 169094
-
Benjamin Kramer authored
Pull the Attr iteration parts out of Attr.h, so including DeclBase.h doesn't pull in all the generated Attr code. Required to pull some functions out of line, but this shouldn't have a perf impact. No functionality change. llvm-svn: 169092
-
- Nov 26, 2012
-
-
Anna Zaks authored
The AllocaRegion did not have the superRegion (based on LocationContext) as part of it's hash. As a consequence, the AllocaRegions from different frames were uniqued to be the same region. llvm-svn: 168599
-
- Nov 22, 2012
-
-
Benjamin Kramer authored
llvm-svn: 168500
-
- Nov 15, 2012
-
-
Jordan Rose authored
Also, don't bother to stop tracking symbols in the return value, either. They are now properly considered live during checkDeadSymbols. llvm-svn: 168069
-
Jordan Rose authored
Also, don't bother to stop tracking symbols in the return value, either. They are now properly considered live during checkDeadSymbols. llvm-svn: 168068
-
Jordan Rose authored
Also, don't bother to stop tracking symbols in the return value, either. They are now properly considered live during checkDeadSymbols. llvm-svn: 168067
-
- Nov 13, 2012
-
-
Anna Zaks authored
This simplifies logic, fixes a bug, and adds a test case. Thanks Jordan! llvm-svn: 167868
-
Anna Zaks authored
and other functions. When these functions return null, the pointer is not freed by them/ownership is not transfered. So we should allow the user to free the pointer by calling another function when the return value is NULL. llvm-svn: 167813
-
- Nov 07, 2012
-
-
Jordan Rose authored
Patch by Sean McBride! llvm-svn: 167537
-
Jordan Rose authored
No functionality change; this checker is only used for documentation. llvm-svn: 167522
-
- Nov 06, 2012
- Nov 03, 2012
-
-
Anna Zaks authored
llvm-svn: 167351
-
Jordan Rose authored
llvm-svn: 167340
-
Jordan Rose authored
llvm-svn: 167339
-
Jordan Rose authored
These are CallEvent-equivalents of helpers already accessible in CheckerContext, as part of making it easier for new checkers to be written using CallEvent rather than raw CallExprs. llvm-svn: 167338
-