- Jun 24, 2008
-
-
Ted Kremenek authored
llvm-svn: 52667
-
Ted Kremenek authored
'There's not much to say about this patch, it just adds the Arch Linux gcc 4.3.1 header paths for i686 and amd64. The patch was generated using "svn diff" with clang at revision 52660. The paths aren't distribution-specific, so they should work for all Linux distributions using the default(?) names like "i686-pc-linux-gnu".' llvm-svn: 52665
-
Ted Kremenek authored
Added ObjCSummaryCache, a new summary cache object to cache summaries for Objective-C methods. Instead of mapping from Selectors -> Summaries, we will now map from (ObjCInterfaceDecl*,Selectors) -> Summaries. This will allow more nuanced summary generation. This patch just swaps in the new data structure; the rest of the code works as before by allowing the ObjCInterfaceDecl* to be null. llvm-svn: 52653
-
Ted Kremenek authored
Rename summary methods for "instance methods" to "class methods" (the names got screwed up). No functionality change. llvm-svn: 52650
-
- Jun 23, 2008
-
-
Ted Kremenek authored
llvm-svn: 52635
-
Ted Kremenek authored
The CF retain/release checker now assumes that allocations do not fail. Eventually we will add a flag to the driver to enable allocation failures (documented as a FIXME). llvm-svn: 52632
-
Ted Kremenek authored
llvm-svn: 52625
-
- Jun 22, 2008
-
-
Chris Lattner authored
union between [potentially complex] APInt/APFloat. llvm-svn: 52609
-
Chris Lattner authored
llvm-svn: 52607
-
- Jun 21, 2008
-
-
Chris Lattner authored
"this patch adds code generation hooks for Objective-C constant strings. It also modifies Sema so that Objective-C constant strings are treated as untyped objects if the interface for the constant string class can not be found. This is consistent with Apple GCC. I thought it was consistent with GNU GCC, since this was causing failures when trying to compile GNUstep with (GNU) GCC, but it appears that this is not the case when attempting to produce a simple test case to demonstrate it. Possibly there is a way of making the error go away, but I haven't found out what it is yet." Patch by David Chisnall! llvm-svn: 52599
-
Chris Lattner authored
llvm-svn: 52598
-
Chris Lattner authored
by David Chisnall. llvm-svn: 52597
-
Chris Lattner authored
"This moves built-in Objective-C types up the scope chains to where they can be replaced by versions included from the runtime library's headers." This makes it ok to use @"foo" without a declaration for NSConstantString. Patch by David Chisnall! llvm-svn: 52593
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 52586
-
Chris Lattner authored
llvm-svn: 52581
-
Chris Lattner authored
Patch by David Chisnall with objc rewriter and stmtdumper updates from me. llvm-svn: 52580
-
Chris Lattner authored
since handling this correctly is quite complex, and on some platforms requires additional -D options and on some implies linking against a different libc, but this works better than just ignoring the option. The other change passes the -x option across to clang, which allows compiling .c files as Objective-C and so on. For some reason a lot of configure scripts seem to be under the misguided impression that this is a sensible thing to do." Patch by David Chisnall! llvm-svn: 52579
-
Ted Kremenek authored
llvm-svn: 52578
-
Argyrios Kyrtzidis authored
llvm-svn: 52575
-
Ted Kremenek authored
llvm-svn: 52569
-
Ted Kremenek authored
llvm-svn: 52568
-
Ted Kremenek authored
When using the dead-stores checker with the BugReporter class, properly capture the diagnostic associated with a specific warning and emit it. llvm-svn: 52565
-
- Jun 20, 2008
-
-
Ted Kremenek authored
llvm-svn: 52563
-
Ted Kremenek authored
llvm-svn: 52560
-
Ted Kremenek authored
llvm-svn: 52559
-
Ted Kremenek authored
llvm-svn: 52556
-
Ted Kremenek authored
1) Check if a dead store appears as a subexpression. For such cases, we emit a verbose diagnostic so that users aren't confused. This addresses: <rdar://problem/5968508> checker gives misleading report for dead store in loop 2) Don't emit a dead store warning when assigning a null value to a pointer. This is a common form of defensive programming. We may wish to make this an option to the the checker one day. This addresses the feature request in the following email: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-June/001978.html llvm-svn: 52555
-
Ted Kremenek authored
llvm-svn: 52553
-
Ted Kremenek authored
Added "Decl::getCodyBody()", a virtual method that returns the root AST node (Stmt*) that the Decl wraps (if any). Currently this only returns a non-null value for FunctionDecl and ObjCMethodDecl. llvm-svn: 52552
-
Ted Kremenek authored
llvm-svn: 52512
-
Ted Kremenek authored
llvm-svn: 52511
-
- Jun 19, 2008
-
-
Mike Stump authored
llvm-svn: 52507
-
Mike Stump authored
Remove an extra space at the end of a line. llvm-svn: 52504
-
Mike Stump authored
I choose to remove extraneous whitespace at end of lines as a semantic nop for the test. llvm-svn: 52503
-
Ted Kremenek authored
have complex RValues yet, so this logic is only fully implemented when __imag__ and __real__ are used on non-complex types. llvm-svn: 52501
-
- Jun 18, 2008
-
-
Ted Kremenek authored
llvm-svn: 52446
-
Ted Kremenek authored
Added a new ProgramPoint: PostPurgeDeadSymbols. This new program point distinguishes between the cases when we just evaluated the transfer function of a Stmt* (PostStmt) or performed a load (PostLoad). This solves a caching bug observed in a recent bug report. llvm-svn: 52443
-
- Jun 17, 2008
-
-
Ted Kremenek authored
llvm-svn: 52429
-
Ted Kremenek authored
llvm-svn: 52426
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 52422
-