- Feb 10, 2009
-
-
Fariborz Jahanian authored
in preparation for nonfragile ivar offset work. llvm-svn: 64225
-
- Feb 04, 2009
-
-
Fariborz Jahanian authored
Patch by David Chisnall llvm-svn: 63769
-
- Feb 03, 2009
-
-
Fariborz Jahanian authored
Patch by David Chisnall. llvm-svn: 63666
-
Fariborz Jahanian authored
llvm-svn: 63644
-
Fariborz Jahanian authored
llvm-svn: 63578
-
Daniel Dunbar authored
- Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
-
- Feb 02, 2009
-
-
Daniel Dunbar authored
- Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553
-
Daniel Dunbar authored
- Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. llvm-svn: 63550
-
Fariborz Jahanian authored
objc2 nonfragile ivar access code gen. llvm-svn: 63541
-
- Jan 27, 2009
-
-
Chris Lattner authored
llvm-svn: 63092
-
- Jan 21, 2009
-
-
Chris Lattner authored
llvm-svn: 62708
-
Chris Lattner authored
and more idiomatic. llvm-svn: 62705
-
Chris Lattner authored
David Chisnall llvm-svn: 62703
-
- Jan 12, 2009
-
-
Daniel Dunbar authored
llvm-svn: 62101
-
- Jan 10, 2009
-
-
Fariborz Jahanian authored
not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030
-
- Jan 09, 2009
-
-
Douglas Gregor authored
filters the decls seen by decl_iterator with two criteria: the dynamic type of the declaration and a run-time predicate described by a member function. This simplifies EnumDecl, RecordDecl, and ObjCContainerDecl considerably. It has no measurable performance impact. llvm-svn: 61994
-
- Jan 08, 2009
-
-
Steve Naroff authored
Convert clients to use the standard getDeclContext() API. Doug, thanks for the review! llvm-svn: 61935
-
Steve Naroff authored
- ObjCContainerDecl's (ObjCInterfaceDecl/ObjCCategoryDecl/ObjCProtocolDecl), ObjCCategoryImpl, & ObjCImplementation are all DeclContexts. - ObjCMethodDecl is now a ScopedDecl (so it can play nicely with DeclContext). - ObjCContainerDecl now does iteration/lookup using DeclContext infrastructure (no more linear search:-) - Removed ASTContext argument to DeclContext::lookup(). It wasn't being used and complicated it's use from an ObjC AST perspective. - Added Sema::ProcessPropertyDecl() and removed Sema::diagnosePropertySetterGetterMismatch(). - Simplified Sema::ActOnAtEnd() considerably. Still more work to do. - Fixed an incorrect casting assumption in Sema::getCurFunctionOrMethodDecl(), now that ObjCMethodDecl is a ScopedDecl. - Removed addPropertyMethods from ObjCInterfaceDecl/ObjCCategoryDecl/ObjCProtocolDecl. This passes all the tests on my machine. Since many of the changes are central to the way ObjC finds it's methods, I expect some fallout (and there are still a handful of FIXME's). Nevertheless, this should be a step in the right direction. llvm-svn: 61929
-
- Dec 15, 2008
-
-
Fariborz Jahanian authored
ivars. llvm-svn: 61043
-
- Dec 04, 2008
-
-
Sebastian Redl authored
Correct CodeGen assumption that LongTy == Int32Ty in a few places. This makes several CodeGenObjC tests pass on 64-bit by fixing assertions. This doesn't mean that the result is actually what the GNU runtime expects, though. llvm-svn: 60515
-
- Nov 24, 2008
-
-
Chris Lattner authored
uses of getName() with uses of getDeclName(). This upgrades a bunch of diags to take DeclNames instead of std::strings. This also tweaks a couple of diagnostics to be cleaner and changes CheckInitializerTypes/PerformInitializationByConstructor to pass around DeclarationNames instead of std::strings. llvm-svn: 59947
-
Chris Lattner authored
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
-
Chris Lattner authored
a new NamedDecl::getAsString() method. Change uses of Selector::getName() to just pass in a Selector where possible (e.g. to diagnostics) instead of going through an std::string. This also adds new formatters for objcinstance and objcclass as described in the dox. llvm-svn: 59933
-
- Nov 21, 2008
-
-
Fariborz Jahanian authored
code gen. method. llvm-svn: 59767
-
- Nov 20, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 59740
-
- Nov 19, 2008
-
-
Fariborz Jahanian authored
Also, took care of Daniel's commments. llvm-svn: 59575
-
- Nov 18, 2008
-
-
Fariborz Jahanian authored
__weak objects. llvm-svn: 59560
-
Fariborz Jahanian authored
llvm-svn: 59553
-
- Nov 17, 2008
-
-
Douglas Gregor authored
representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
-
- Nov 15, 2008
-
-
Chris Lattner authored
Patch by Fariborz! llvm-svn: 59377
-
- Nov 01, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58546
-
- Oct 17, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57716
-
- Sep 24, 2008
-
-
Daniel Dunbar authored
implementing property access. llvm-svn: 56542
-
- Sep 10, 2008
-
-
Daniel Dunbar authored
- Added CodeGenTypes::GetFunctionType, taking a CGFunctionInfo. - Updated Obj-C runtimes to use this instead of rolling the llvm::FunctionType by hand. - Killed CodeGenTypes::{ConvertReturnType, DecodeArgumentTypes}. Add ABIArgInfo class to encapsulate ABI decision of how to lower types to LLVM. - Will move to target sometime soon. llvm-svn: 56047
-
- Sep 09, 2008
-
-
Anders Carlsson authored
llvm-svn: 55983
-
Daniel Dunbar authored
- Add CodeGenFunction::EmitAnyExprToTemp o Like EmitAnyExpr, but emits aggregates to a temporary location if none is available. Seems like this should be simpler (even aside from using first class aggregates). - Killed CodeGenFunction::EmitCallArg (just append the pair) - Conversion of RValues to actual call arguments is now isolated in CodeGenFunction::EmitCall. llvm-svn: 55970
-
- Aug 31, 2008
-
-
Anders Carlsson authored
llvm-svn: 55583
-
- Aug 30, 2008
-
-
Daniel Dunbar authored
- Change Obj-C runtime message API, drop the ObjCMessageExpr arg in favor of just result type and selector. Necessary so it can be reused in situations where we don't want to cons up an ObjCMessageExpr. - Update aggregate binary assignment to know about special property ref lvalues. - Add CodeGenFunction::EmitCallArg overload which takes an already emitted rvalue. Add CodeGenFunction::StoreComplexIntoAddr. Disabled logic in Sema for parsing Objective-C dot-syntax that accesses methods. This code does not search in the correct order and the AST node has no way of properly representing its results. Updated StmtDumper to print a bit more information about ObjCPropertyRefExprs. llvm-svn: 55561
-
Daniel Dunbar authored
- Added CodeGenFunction::EmitCall which just takes the callee, return type, and a list of (Value*,QualType) pairs. - Added CodeGenFunction::EmitCallArg which handles emitting code for a call argument and turning it into an appropriate (Value*,QualType) pair. - Changed Objective-C runtime interface so that the actual emission of arguments for message sends is (once again) done in the code to emit a message send. No intended functionality change, this is prep work for better ABI support and for Objective-C property setter support. llvm-svn: 55560
-
- Aug 25, 2008
-
-
Daniel Dunbar authored
- NeXT loads the super class at runtime; this required changing the runtime interface to pass more information down. llvm-svn: 55307
-