- Aug 29, 2008
-
-
Daniel Dunbar authored
Objective-C property references. - This handles property references "more correctly" but setters still don't work. llvm-svn: 55534
-
- Aug 28, 2008
-
-
Daniel Dunbar authored
- PR2727. Also, fix warning in CodeGenTypes for new BlockPointer type. llvm-svn: 55479
-
Daniel Dunbar authored
- Added ASTContext::getObjCEncodingForPropertyDecl. llvm-svn: 55461
-
- Aug 27, 2008
-
-
Daniel Dunbar authored
llvm-svn: 55410
-
Daniel Dunbar authored
Also, fix category protocol list metadata. llvm-svn: 55405
-
Daniel Dunbar authored
- Was emitting duplicates of class properties instead of the category properties. llvm-svn: 55395
-
- Aug 26, 2008
-
-
Daniel Dunbar authored
Also, fix method lookup to not use LLVM module symbol table. llvm-svn: 55390
-
Daniel Dunbar authored
- Only supports simple assignment and atomic semantics are ignored. - Not quite usable yet because the methods do not actually get added to the class metadata. - Added ObjCPropertyDecl::getSetterKind (one of Assign, Copy, Retain). - Rearrange CodeGenFunction so synthesis can reuse function prolog / epilog code. llvm-svn: 55365
-
- Aug 25, 2008
-
-
Eli Friedman authored
correctly. Not a regression, but made more obvious by my recent fix which made function type compatibility checking a bit more strict. llvm-svn: 55339
-
Daniel Dunbar authored
Add CodeGenFunction::EmitUnsupportedLValue - Gives error and returns undef value. Swap some asserts() over to using EmitUnsupportedLValue - Rumor has it users (and even some developers) prefer carat diagnostics to backtraces. - Works better in Release-Asserts to boot. llvm-svn: 55328
-
Daniel Dunbar authored
llvm-svn: 55312
-
Daniel Dunbar authored
EmitScalarConversion(). - Important for allowing Obj-C void * to id<X> casts and so on. - Not sure about this fix however, perhaps Type should understand that id is effectively a pointer type. llvm-svn: 55311
-
Daniel Dunbar authored
- NeXT loads the super class at runtime; this required changing the runtime interface to pass more information down. llvm-svn: 55307
-
Daniel Dunbar authored
llvm-svn: 55304
-
Daniel Dunbar authored
llvm-svn: 55303
-
Daniel Dunbar authored
- This ensures that references to undefined classes cause link errors. - NOTE: This relies on platform specific asm directives currently, this should be factored out. Also, don't emit a SYMBOLS metadata entry if there are no symbols. llvm-svn: 55302
-
Anders Carlsson authored
llvm-svn: 55299
-
Anders Carlsson authored
llvm-svn: 55298
-
Anders Carlsson authored
llvm-svn: 55297
-
- Aug 24, 2008
-
-
Anders Carlsson authored
llvm-svn: 55287
-
- Aug 23, 2008
-
-
Anders Carlsson authored
llvm-svn: 55250
-
Argyrios Kyrtzidis authored
llvm-svn: 55249
-
Daniel Dunbar authored
llvm-svn: 55244
-
Daniel Dunbar authored
- Use CodeGenModule::GetAddrOfConstantCFString Some tweaks of CodeGenModule::GetAddrOfConstantCFString llvm-svn: 55243
-
Daniel Dunbar authored
Implement Obj-C lvalue message sends (aggregate returns). Update several places to emit more precise ErrorUnsupported warnings for currently unimplemented Obj-C features (main missing chunks are property references, Obj-C exception handling, and the for ... in syntax). llvm-svn: 55234
-
Daniel Dunbar authored
- Simplify the sending code a bit. llvm-svn: 55232
-
Daniel Dunbar authored
llvm-svn: 55225
-
Daniel Dunbar authored
- Returns an RValue. - Reduced to only taking the CodeGenFunction, Expr, and Receiver. - Becomes responsible for emitting the arguments. Add CodeGenFunction::EmitCallExprExt - Takes optional extra arguments to insert at the head of the call. - This allows the Obj-C runtimes to call into this and isolates the argument and call instruction generation code to one place. Upshot is that we now pass structures (more) correctly. Also, fix one aspect of generating methods which take structure arguments (for NeXT). This probably needs to be merged with the SetFunctionAttributes code in CodeGenModule.cpp llvm-svn: 55223
-
Daniel Dunbar authored
- No (intended) functional change. llvm-svn: 55221
-
Daniel Dunbar authored
llvm-svn: 55209
-
- Aug 22, 2008
-
-
Daniel Dunbar authored
llvm-svn: 55197
-
Anders Carlsson authored
llvm-svn: 55180
-
- Aug 21, 2008
-
-
Daniel Dunbar authored
Updated ObjCProtocolDecl::protocol_iterator to match that of ObjCInterfaceDecl. llvm-svn: 55143
-
Daniel Dunbar authored
- Functional for simple cases but there are some glaring omissions (protocols, properties, and other language extensions). - The code needs a fair bit of cleaning. llvm-svn: 55108
-
- Aug 20, 2008
-
-
Daniel Dunbar authored
- Drop duplicate (and broken) code for sending messages. - Add EmitObjCProtocolExpr to CodeGenFunction. llvm-svn: 55024
-
- Aug 19, 2008
-
-
Argyrios Kyrtzidis authored
Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr): Expr -> CastExpr -> ExplicitCastExpr -> ImplicitCastExpr llvm-svn: 54955
-
- Aug 16, 2008
-
-
Daniel Dunbar authored
Change CodeGenFunction::EmitParmDecl to take either a ParmVarDecl or an ImplicitParamDecl. Drop hasAggregateLLVMType from CodeGenModule.cpp (use version in CodeGenFunction). Change the Objective-C method generation to use EmitParmDecl for implicit parameters. llvm-svn: 54838
-
Daniel Dunbar authored
llvm-svn: 54837
-
Daniel Dunbar authored
- We are beyond the point where this shows up often and when it does generating miscompiled files is bad. llvm-svn: 54836
-
Daniel Dunbar authored
ObjCInterfaceDecl. Change ObjCRuntime::GenerateMessageSendSuper to take the ObjCInterfaceDecl for the super class, instead of just its name. Change EmitObjCMessageExpr to make the right runtime calls for super sends in class methods (i.e. a super send with the class object as the receiver). llvm-svn: 54833
-