- Jun 25, 2008
-
-
Ted Kremenek authored
llvm-svn: 52735
-
Ted Kremenek authored
llvm-svn: 52732
-
Ted Kremenek authored
llvm-svn: 52720
-
Argyrios Kyrtzidis authored
The assert at Sema::ObjCActOnStartOfMethodDef should check CurMethodDecl instead of CurFunctionDecl. llvm-svn: 52719
-
Argyrios Kyrtzidis authored
llvm-svn: 52718
-
Mon P Wang authored
llvm-svn: 52707
-
Argyrios Kyrtzidis authored
llvm-svn: 52698
-
Argyrios Kyrtzidis authored
llvm-svn: 52697
-
Argyrios Kyrtzidis authored
The only caller of this knows that the current token is l_brace, so this can be an assert; suggestion by Chris. llvm-svn: 52696
-
Argyrios Kyrtzidis authored
Note that Parser::ParseCXXMemberSpecification is temporarily disabled until the Sema support is in place. Once ParseCXXMemberSpecification is enabled, the Parser/cxx-class.cpp test will pass. llvm-svn: 52694
-
- Jun 24, 2008
-
-
Chris Lattner authored
"Support for Objective-C message sends which return structures. Also includes a small fix for constant string handling that should have been in the last patch (sorry!) and a hook for generating selectors (rest of this implementation to follow in the next patch)." Patch by David Chisnall! llvm-svn: 52681
-
Chris Lattner authored
"This is a small fix for a bug where static object instances were being incorrectly generated. The bug was caused by my inability to read the GNU libobjc source and is only apparent when JITing code (static compilation does not expose the bug due to the data layout of other globals)." Patch by David Chisnall! llvm-svn: 52680
-
Ted Kremenek authored
Update serialization for ObjCMessageExpr to handle additional bit-swizziling of receiver information. llvm-svn: 52679
-
Ted Kremenek authored
ObjCMessageExpr objects that represent messages to class methods now can contain the ObjCInterfaceDecl* of the target class if it was available when the ObjCMessageExpr object was constructed. The original interfaces of the class has been preserved (requiring no functionality changes from clients), but now a "getClasSInfo" method returns both the ObjCInterfaceDecl* and IdentifierInfo* of the target class. llvm-svn: 52676
-
Argyrios Kyrtzidis authored
llvm-svn: 52673
-
Cedric Venet authored
Test commit: changed the forward declaration of FieldDeclarator from class to struct to be coherent with its definition (DeclSpec.h) llvm-svn: 52671
-
Ted Kremenek authored
llvm-svn: 52669
-
Ted Kremenek authored
llvm-svn: 52668
-
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
-