- Apr 02, 2008
-
-
Ted Kremenek authored
llvm-svn: 49076
-
Chris Lattner authored
llvm-svn: 49075
-
Chris Lattner authored
llvm-svn: 49074
-
Ted Kremenek authored
in these cases we directly call ccc-analyzer. llvm-svn: 49073
-
Chris Lattner authored
functionality change. llvm-svn: 49072
-
Sam Bishop authored
llvm-svn: 49071
-
Chris Lattner authored
llvm-svn: 49068
-
Steve Naroff authored
llvm-svn: 49066
-
Steve Naroff authored
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl. - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's. - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl(). - Some minor indentation changes. Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit... llvm-svn: 49058
-
Ted Kremenek authored
llvm-svn: 49057
-
- Apr 01, 2008
-
-
Ted Kremenek authored
llvm-svn: 49052
-
Ted Kremenek authored
llvm-svn: 49051
-
Ted Kremenek authored
interpose calls to gcc with calls to the analyzer. llvm-svn: 49049
-
Chris Lattner authored
llvm-svn: 49042
-
Chris Lattner authored
llvm-svn: 49033
-
Chris Lattner authored
The new MemoryBuffer doesn't "leak" file descriptors and handles the small file case efficiently. llvm-svn: 49032
-
Ted Kremenek authored
llvm-svn: 49005
-
Chris Lattner authored
llvm-svn: 49004
-
Ted Kremenek authored
llvm-svn: 49001
-
- Mar 31, 2008
-
-
Ted Kremenek authored
llvm-svn: 48998
-
Ted Kremenek authored
llvm-svn: 48997
-
Ted Kremenek authored
a PathDiagnosticClient. llvm-svn: 48996
-
Steve Naroff authored
This is a temporary solution to avoid running out of file descriptors (which defaults to 256). Need to benchmark to understand the speed benefit. If the benefit is small, the simple solution is to avoid memory mapping files. If the benefit is significant, more thought is necessary. llvm-svn: 48991
-
Ted Kremenek authored
llvm-svn: 48990
-
Ted Kremenek authored
GRSimpleVals.h Added a PathDiagnosticClient option to the driver functions for the CFRefCountChecker and the GRSimpleVals analysis. Both analyses now accept a "-o" argument from the driver that specifies where HTML reports should be dumped. llvm-svn: 48989
-
Ted Kremenek authored
where to dump HTML reports. llvm-svn: 48987
-
Ted Kremenek authored
an optional DiagnosticClient argument that differs from the client stored internally in the Diagnostic object. llvm-svn: 48986
-
Ted Kremenek authored
llvm-svn: 48981
-
Ted Kremenek authored
of a stack variable. This is the path-sensitive version of a check that is already done during semantic analysis. llvm-svn: 48980
-
Chris Lattner authored
Fix objc ivar lookup. Ivar lookup should occur between lookup of method-local values and lookup of globals. Emulate this with some logic in the handling of Sema::ActOnIdentifierExpr. Two todo's left: 1) sema shouldn't turn a bare reference to an ivar into "self->ivar" in the AST. This is a hack. 2) The new ScopedDecl::isDefinedOutsideFunctionOrMethod method does not correctly handle typedefs and enum constants yet. llvm-svn: 48972
-
Chris Lattner authored
remaining open issues I've communicated to him: 1) self can be assigned to, and his patch didn't handle it correctly. 2) CollectObjCIvarTypes is N^2 (because each subclass reprocesses all parent class ivars) and flattens classes. If A derives from B, and both have an int, I'd expect to get { {i32}, i32}, not { i32, i32}. David, please review. llvm-svn: 48970
-
Chris Lattner authored
etoile runtime, patch by David Chisnall! llvm-svn: 48969
-
- Mar 28, 2008
-
-
Steve Naroff authored
llvm-svn: 48926
-
Steve Naroff authored
llvm-svn: 48924
-
Ted Kremenek authored
Added skeleton checking for NSString's method initWithFormat: (do not pass nil). This won't be useful in most cases right now because the analyzer isn't tracking expected types for an object, and [NSString alloc] just runs "id". llvm-svn: 48917
-
- Mar 27, 2008
-
-
Steve Naroff authored
Fix a couple bozo bugs in the rewriter. llvm-svn: 48903
-
Steve Naroff authored
llvm-svn: 48899
-
Ted Kremenek authored
llvm-svn: 48898
-
Ted Kremenek authored
Added test case to test warning about passing 'nil' to NSString's compare: method. llvm-svn: 48896
-
Ted Kremenek authored
llvm-svn: 48895
-