- Dec 01, 2012
-
-
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
-
Jordan Rose authored
Also, Decls already carry a pointer to the ASTContext, so there's no need to pass an extra argument to the predicate. llvm-svn: 167337
-
- Nov 02, 2012
-
-
Anna Zaks authored
llvm-svn: 167316
-
Jordan Rose authored
Add FIXMEs for the traits visible from multiple translation units. Currently the macros hide their key types in an anonymous namespace. llvm-svn: 167277
-
Jordan Rose authored
Also, move the REGISTER_*_WITH_PROGRAMSTATE macros to ProgramStateTrait.h. This doesn't get rid of /all/ explicit uses of ProgramStatePartialTrait, but it does get a lot of them. llvm-svn: 167276
-
Jordan Rose authored
No functionality change. llvm-svn: 167275
-
- Nov 01, 2012
-
-
Jordan Rose authored
llvm-svn: 167189
-
Jordan Rose authored
No functionality change. llvm-svn: 167187
-
Jordan Rose authored
(and the same for isFalse) No functionality change. llvm-svn: 167186
-
- Oct 31, 2012
- Oct 30, 2012
-
-
Ted Kremenek authored
llvm-svn: 167002
-
Anna Zaks authored
llvm-svn: 167001
-
Anna Zaks authored
The ImmutableMap should not be the key into the GDM map as there could be several entries with the same map type. Thanks, Jordan. This complicates the usage of the macro a bit. When we want to retrieve the whole map, we need to use another name. Currently, I set it to be Name ## Ty as in "type of the map we are storing in the ProgramState". llvm-svn: 167000
-
Anna Zaks authored
llvm-svn: 166999
-
Jordan Rose authored
Patch by Sean McBride! llvm-svn: 166995
-
Jordan Rose authored
This is a syntactic checker aimed at helping iOS programmers correctly subclass and override the methods of UIViewController. While this should eventually be covered by the 'objc_requires_super' attribute, this checker can be used with the existing iOS SDKs without any header changes. This new checker is currently named 'alpha.osx.cocoa.MissingSuperCall'. Patch by Julian Mayer! llvm-svn: 166993
-
- Oct 29, 2012
-
-
Anna Zaks authored
No need for the auxiliary flag. No need to generate a leak node when there is no error. llvm-svn: 166977
-
Anna Zaks authored
This is an example checker for catching fopen fclose API misuses. llvm-svn: 166976
-
Anna Zaks authored
- Adding Immutable Map to GDM and getIdentifierInfo helper method. llvm-svn: 166975
-
- Oct 18, 2012
-
-
Anna Zaks authored
llvm-svn: 166211
-
- Oct 16, 2012
-
-
Anna Zaks authored
@implementation. llvm-svn: 166047
-
Jordan Rose authored
Follow-up to r165838, which fixed a potential crash. llvm-svn: 166002
-
Anna Zaks authored
llvm-svn: 165993
-