- Nov 16, 2007
-
-
Anton Korobeynikov authored
Codegen bits and llvm-gcc support will follow. llvm-svn: 44182
-
- Nov 15, 2007
-
-
Nate Begeman authored
llvm-svn: 44181
-
Chris Lattner authored
llvm-svn: 44180
-
Chris Lattner authored
llvm-svn: 44179
-
Chris Lattner authored
llvm-svn: 44178
-
Anton Korobeynikov authored
llvm-svn: 44177
-
Ted Kremenek authored
Some FunctionDecls do not appear at the top-level or are owned by a DeclStmt. In calls to implicitly defined functions, a FunctionDecl is created, but only the DeclRefExprs reference them. Since an implicitly defined function may be called multiple times, there is no clear ownership model for such objects. Temporary solution: when serializing out DeclRefExprs, emit an ownership bit for the Decl. This bit is determined by querying the serializer to see if the Decl has already been serialized. If it hasn't, emit the Decl as an owned pointer. I repeat: this is a hack. This should be fixed. llvm-svn: 44176
-
Ted Kremenek authored
Added missing deserialization case in Stmt::Create() switch statement. llvm-svn: 44175
-
Daniel Berlin authored
llvm-svn: 44174
-
Steve Naroff authored
No need to forward declare definition of objc_super... llvm-svn: 44173
-
Steve Naroff authored
Finish up variadic methods/messages. llvm-svn: 44172
-
Steve Naroff authored
Implement support for variadic methods (work in progress). llvm-svn: 44171
-
Steve Naroff authored
Extend RewriteTest::RewriteObjCIvarRefExpr() to cope with static typing (when using -> on a type which corresponds to the implementation type). llvm-svn: 44170
-
Steve Naroff authored
Tweak funky cast to accommodate messaging 'super'. This removes any spurious warnings. llvm-svn: 44169
-
Steve Naroff authored
Rewrite for messaging 'super'. The code gen. results in some spurious warnings...a cast is forthcoming. llvm-svn: 44168
-
Duncan Sands authored
llvm-svn: 44167
-
Evan Cheng authored
llvm-svn: 44166
-
Nate Begeman authored
llvm-svn: 44164
-
Nick Lewycky authored
is disabled in the sense that it will refuse to create one from a UDiv instruction, until the code is better tested. llvm-svn: 44163
-
Chris Lattner authored
Thanks to him for his detailed analysis of the problem. llvm-svn: 44162
-
Chris Lattner authored
Cédric Venet. llvm-svn: 44161
-
Nate Begeman authored
llvm-svn: 44160
-
Chris Lattner authored
This fixes code like "if((bool)x) {}" for example. Patch by Nate Begeman. llvm-svn: 44159
-
Owen Anderson authored
llvm-svn: 44158
-
Chris Lattner authored
llvm-svn: 44157
-
Steve Naroff authored
- Implement ivar rewrite (patch by Fariborz). - RewriteMessageExpr()...make implicit casts explicit with synthesizing call (removing warnings when calling objc_msgSend()). llvm-svn: 44156
-
Bill Wendling authored
llvm-svn: 44154
-
Bill Wendling authored
llvm-svn: 44153
-
Ted Kremenek authored
deserialize objects if BatchReadOwnedPtrs was called more than once in the same call chain then the second call would overwrite the SerializedPtrIDs being used by the first call. Solved this problem by making the vector that holds the pointer IDs local to a function call. Now BatchReadOwnedPtrs is reentrant. llvm-svn: 44152
-
Steve Naroff authored
Refinement to previous commit. Always cast the first argument to "id"...no need to special case self. llvm-svn: 44149
-
Steve Naroff authored
Cast implicit "self" argument to "id". This removes all warnings associated with implicit references to self. It doesn't yet deal withexplicit references to self... llvm-svn: 44148
-
Ted Kremenek authored
"default constructed" an APSInt. Fixed another bug in the same method where we did not allow the NextDeclarator to be NULL. llvm-svn: 44147
-
Ted Kremenek authored
qualifiers as part of the pointer address. llvm-svn: 44146
-
Steve Naroff authored
Always generate a typedef for @class. The typedef removal logic that I'm removing only made sense when we were operating on preprocess files without typedef guards. Now that we have guards, it is incorrect to ever remove one (since it may increase the likelihood that the rewritten header can't be included stand alone). llvm-svn: 44145
-
- Nov 14, 2007
-
-
Chris Lattner authored
between an @ and a p, just skip whitespace. llvm-svn: 44144
-
Ted Kremenek authored
backpatching. This original was available, but then we removed it. It is back again to help with deserialization of FieldDecls. Because FieldDecls are currently owned by RecordDecls, which are owned by a TagType, the type of the FieldDecl may not be deserialized prior to deserializing the FieldDecl. Thus backpatching solves the problem of constructing a FieldDecl that references a type that has not yet been deserialized. Simplified serialization of TagType to not require passing in the SerializedPtrID. Registration of the materialized type object is done after the CreateImpl method returns (as with other types). llvm-svn: 44143
-
Fariborz Jahanian authored
llvm-svn: 44142
-
Duncan Sands authored
llvm-svn: 44139
-
Ted Kremenek authored
llvm-svn: 44137
-
Ted Kremenek authored
llvm-svn: 44134
-