- Mar 31, 2008
-
-
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
-
Ted Kremenek authored
llvm-svn: 48891
-
Ted Kremenek authored
Bug fix in EscapeText (for std::string) where spaces were not properly emitted. llvm-svn: 48889
-
Ted Kremenek authored
For HTMLDiagnostics, when emitting the name of the directory, substitute the current working directory for "." llvm-svn: 48888
-
Ted Kremenek authored
llvm-svn: 48887
-
Ted Kremenek authored
llvm-svn: 48886
-
Ted Kremenek authored
llvm-svn: 48885
-
Ted Kremenek authored
llvm-svn: 48884
-
Ted Kremenek authored
llvm-svn: 48882
-
Ted Kremenek authored
llvm-svn: 48870
-
Ted Kremenek authored
llvm-svn: 48869
-
Ted Kremenek authored
Added AnnotatedPath.h, GRAuditor.h, GRSimpleAPICheck.h and BasicObjCFoundationChecks.cpp to Xcode project. llvm-svn: 48868
-
Ted Kremenek authored
Added "GRAuditor" and "GRSimpleAPICheck" interface to allow simple stateless checkers to be injected into the analyzer. Added "AnnotatedPath" class to record an annotated path that will be useful for inspecting paths. Added some boilerplate code for simple checks of Apple's Foundation API. llvm-svn: 48867
-
Ted Kremenek authored
llvm-svn: 48866
-
Ted Kremenek authored
so that all diagnostics can be piped to HTML files instead of as text diagnostics using --html-diags. llvm-svn: 48865
-
Ted Kremenek authored
PathDiagnostic no longer contains a diagnostic ID or diagnostic level. llvm-svn: 48864
-
Ted Kremenek authored
llvm-svn: 48863
-
Ted Kremenek authored
llvm-svn: 48862
-
Ted Kremenek authored
Added classes "PathDiagnosticPiece", "PathDiagnostic", and "PathDiagnosticClient", which encapsulate diagnostic reporting for paths. llvm-svn: 48861
-
Ted Kremenek authored
In ObjCMessageExpr: getSelector() const should just return "Selector", not "const Selector&" because Selector is just a smart pointer. llvm-svn: 48860
-
- Mar 26, 2008
-
-
Steve Naroff authored
Fix rewriter tests to work with new output file logic. This changes forces the output to standard out (rather than generate a .cpp file, which is the new default for the rewriter). llvm-svn: 48847
-
Ted Kremenek authored
Bug fix: use GetRVal instead of GetLVal (were getting the value of a DeclRefExpr, not it's address). llvm-svn: 48846
-
Ted Kremenek authored
Added test case for static analysis to warn about passing uninitialized values as arguments (not the receiver) in message expressions. llvm-svn: 48845
-
Ted Kremenek authored
Added test case for static analyzer to detect uses of uninitialized pointers as receivers in Objective-C message expressions. Added test case directory "Analysis-Apple" which is only run on Apple (darwin) machines. llvm-svn: 48844
-
Ted Kremenek authored
Bug fix in transfer function for ObjCMessageExpr: Visit the receiver expression as an ordinary expression, not using VisitLVal. llvm-svn: 48842
-
Steve Naroff authored
llvm-svn: 48841
-
Nuno Lopes authored
# this is my first commit here, so please be gentle :) llvm-svn: 48807
-
- Mar 25, 2008
-
-
Ted Kremenek authored
will gradually get pruned down, as it doesn't need to be as functional as 'ccc'. llvm-svn: 48806
-
Nate Begeman authored
the future, RecordTypes. llvm-svn: 48784
-
Nate Begeman authored
llvm-svn: 48783
-
Ted Kremenek authored
passing an uninitialized value to a message expresion. llvm-svn: 48776
-