- 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: 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
-
-
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
Bug fix in EscapeText (for std::string) where spaces were not properly emitted. llvm-svn: 48889
-
Ted Kremenek authored
llvm-svn: 48886
-
Ted Kremenek authored
llvm-svn: 48884
-
Ted Kremenek authored
llvm-svn: 48869
-
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
PathDiagnostic no longer contains a diagnostic ID or diagnostic level. llvm-svn: 48864
-
Ted Kremenek authored
Added classes "PathDiagnosticPiece", "PathDiagnostic", and "PathDiagnosticClient", which encapsulate diagnostic reporting for paths. llvm-svn: 48861
-
- Mar 26, 2008
-
-
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
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
-
-
Nate Begeman authored
the future, RecordTypes. llvm-svn: 48784
-
Ted Kremenek authored
passing an uninitialized value to a message expresion. llvm-svn: 48776
-
Ted Kremenek authored
and message expressions with a specified receiver. llvm-svn: 48773
-
Ted Kremenek authored
and uninitialized values passed-by-value as arguments to message expressions. llvm-svn: 48760
-
Ted Kremenek authored
llvm-svn: 48757
-
Ted Kremenek authored
for message bubbles. llvm-svn: 48754
-
- Mar 24, 2008
-
-
Chris Lattner authored
llvm-svn: 48741
-
- Mar 22, 2008
-
-
Ted Kremenek authored
The effect is that if a variable is uninitialized along a branch (but initialized along another), at merge points it is considered uninitialized. Previously we had the opposite behavior. The new behavior is more conservative, and more in line with gcc's behavior. llvm-svn: 48689
-
- Mar 21, 2008
-
-
Ted Kremenek authored
llvm-svn: 48659
-
Sam Bishop authored
expanded token" case. llvm-svn: 48637
-
- Mar 20, 2008
-
-
Ted Kremenek authored
LiveVariables analysis now uses intersect for the merge of block-level expression liveness information. The rationale is that a block-level expression cannot be live in a parent block unless it is live in all of the successor blocks. llvm-svn: 48618
-
Ted Kremenek authored
llvm-svn: 48572
-
Steve Naroff authored
llvm-svn: 48571
-
-
- Mar 19, 2008
-
-
Ted Kremenek authored
llvm-svn: 48563
-
Ted Kremenek authored
llvm-svn: 48557
-
Ted Kremenek authored
better div positioning for messages. llvm-svn: 48555
-
Ted Kremenek authored
llvm-svn: 48540
-
Ted Kremenek authored
llvm-svn: 48537
-
Chris Lattner authored
llvm-svn: 48535
-
Chris Lattner authored
llvm-svn: 48534
-
Ted Kremenek authored
pretty-printing of line numbers. llvm-svn: 48533
-