summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch to support Gnu runtime's typed selectors.Fariborz Jahanian2009-05-051-1/+2
| | | | | | Patch by David Chisnall. llvm-svn: 71023
* Implement function-try-blocks. However, there's a very subtle bug that I ↵Sebastian Redl2009-04-261-1/+1
| | | | | | can't track down. llvm-svn: 70155
* split ObjC and C++ Statements out into their own headers.Chris Lattner2009-04-261-1/+1
| | | | llvm-svn: 70105
* Remove unnused variable.Daniel Dunbar2009-04-211-1/+0
| | | | llvm-svn: 69650
* Kill ASTContext::[gs]etFieldForDecl, instead we just lookup thingsDaniel Dunbar2009-04-211-5/+1
| | | | | | | | when we need them -- which is exactly what some code was already doing! - No intended functionality change. llvm-svn: 69648
* Remove non-const form of lookupFieldDeclForIvar.Daniel Dunbar2009-04-201-1/+1
| | | | llvm-svn: 69563
* Use EmitCallArgs in EmitObjCMessageExpr.Anders Carlsson2009-04-181-4/+1
| | | | llvm-svn: 69471
* FunctionDecl::getBody() is getting an ASTContext argument for use inDouglas Gregor2009-04-181-2/+2
| | | | | | | | lazy PCH deserialization. Propagate that argument wherever it needs to be. No functionality change, except that I've tightened up a few PCH tests in preparation. llvm-svn: 69406
* Attributes on block functions were not being set.Daniel Dunbar2009-04-171-1/+2
| | | | | | | - <rdar://problem/6800351> clang not producing correct large struct return code for Blocks llvm-svn: 69337
* Update to use hasAttr() instead of getAttr().Daniel Dunbar2009-04-131-1/+1
| | | | | | - No functionality change. llvm-svn: 68987
* Use the new EmitCallArgs function. No indented functionality change.Anders Carlsson2009-04-081-0/+1
| | | | llvm-svn: 68652
* Some "prep" work for handling ObjC @-string constants that contain UTF-8. No ↵Steve Naroff2009-03-311-3/+1
| | | | | | | | functionality change. Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen). llvm-svn: 68114
* rename some methods.Chris Lattner2009-03-281-1/+1
| | | | llvm-svn: 67923
* pull "runtime globals" into the same framework as other functions/global ↵Chris Lattner2009-03-221-3/+2
| | | | | | | | variables. No intended functionality change. llvm-svn: 67478
* Fix codegen for support for super inside block literal expressions.Mike Stump2009-03-201-0/+2
| | | | llvm-svn: 67406
* More super dot-syntax property implementationFariborz Jahanian2009-03-201-26/+46
| | | | | | | when there is actually a property declaration used in the dot-syntax. llvm-svn: 67391
* Implement ir gen. for setter/getter applied to 'super' Fariborz Jahanian2009-03-201-1/+30
| | | | | | in a property dot-syntax notation. llvm-svn: 67382
* ir-gen support for class getter/setter call Fariborz Jahanian2009-03-101-4/+18
| | | | | | using property dot-syntax. llvm-svn: 66556
* Fixed an ir-gen bug in syntheszing a getter functionFariborz Jahanian2009-03-031-3/+7
| | | | | | | with property type which does not match its ivar and in -fobjc-gc-only mode! llvm-svn: 65955
* Obscure code gen bug related to sending Fariborz Jahanian2009-02-281-0/+2
| | | | | | | message to 'super' in a class method declared in cateogy (darwin specific). llvm-svn: 65709
* Enable debug info emission for objc methods.Devang Patel2009-02-251-0/+3
| | | | llvm-svn: 65422
* remove some more methods from objc decls, using the iteratorChris Lattner2009-02-201-6/+5
| | | | | | interfaces more consistently. llvm-svn: 65138
* Start removing the old Obj-C EH stack now that the cleanup stack is used ↵Anders Carlsson2009-02-101-7/+1
| | | | | | instead. llvm-svn: 64203
* Ensure we track all the stack depths for all break and continue pointsMike Stump2009-02-071-7/+7
| | | | | | | correctly. This should lay the ground work to throw the big switch and start code gening break and continue in the presense of vlas. llvm-svn: 64046
* Ensure that we don't miscodegen if vlas creap into the top of the for.Mike Stump2009-02-071-0/+6
| | | | | | | This will allow us to generate break and continue even if vlas are involved without worry that we'll silently generate bad code. llvm-svn: 64028
* Fixup goto codegen in and around VLAs.Mike Stump2009-02-071-2/+1
| | | | llvm-svn: 64014
* Use correct signature for calling enumeration mutation function.Daniel Dunbar2009-02-041-1/+1
| | | | llvm-svn: 63782
* Update passing of _Bool values to match what function was declared to take.Daniel Dunbar2009-02-041-3/+3
| | | | llvm-svn: 63697
* Use CGCall infrastructure to call enumeration mutation function.Daniel Dunbar2009-02-031-1/+7
| | | | llvm-svn: 63685
* Fix return type for calls to objc_setProperty.Daniel Dunbar2009-02-031-1/+5
| | | | llvm-svn: 63683
* objc2's ir-gen for nonfragile ivar access.Fariborz Jahanian2009-02-031-1/+10
| | | | llvm-svn: 63578
* Thread CGFunctionInfo construction through CodeGenTypes.Daniel Dunbar2009-02-021-2/+3
| | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
* More ABI API cleanup.Daniel Dunbar2009-02-021-3/+3
| | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553
* ABI handling API changes.Daniel Dunbar2009-02-021-2/+3
| | | | | | | | | | | - 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
* Remove ScopedDecl, collapsing all of its functionality into Decl, soDouglas Gregor2009-01-201-1/+1
| | | | | | | | | | | | | | | | that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562
* Attempt to unbreak Windows build.Daniel Dunbar2009-01-161-3/+3
| | | | llvm-svn: 62295
* Fix some unused variable, control reaches end of non-void function,Daniel Dunbar2009-01-151-3/+2
| | | | | | and uninitialized use options. llvm-svn: 62270
* Fix a misleading comment.Steve Naroff2009-01-101-4/+4
| | | | llvm-svn: 62031
* This patch fixes the code gen failures which was a fallout fromFariborz Jahanian2009-01-101-9/+6
| | | | | | | | not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030
* assert if attempting to code gen. a property setter/getterFariborz Jahanian2009-01-101-0/+4
| | | | | | coming from a protocol. llvm-svn: 62017
* Couple of code gen. fixes in ObjC's colection-statement. HardFariborz Jahanian2009-01-061-1/+3
| | | | | | to track down, easy to fix. This is on going. llvm-svn: 61817
* Removed a slot in ObjCMemRegExpr used inFariborz Jahanian2008-12-181-2/+2
| | | | | | code gen which did not belong there. llvm-svn: 61203
* Code gen. for ivar references; including bitfieldFariborz Jahanian2008-12-151-1/+3
| | | | | | ivars. llvm-svn: 61043
* Store the size of the EH stack inside each BreakContinue struct so we know ↵Anders Carlsson2008-12-131-1/+2
| | | | | | when a break/continue won't cross a try block. llvm-svn: 60998
* Patch for ObjCIvarRefExpr containing the fieldFariborz Jahanian2008-12-131-1/+3
| | | | | | matching the storage layout for this ivar llvm-svn: 60996
* Support for implementation of property in the case whereFariborz Jahanian2008-12-091-6/+8
| | | | | | | the synthesis is in an implementation of s subclass of a super class where the property has been declared. llvm-svn: 60792
* Change condition under which 'retain'/'copy' are directly evaluated.Fariborz Jahanian2008-12-081-4/+6
| | | | llvm-svn: 60729
* Code gen for aggregate-valued properties and a test case.Fariborz Jahanian2008-11-261-4/+7
| | | | llvm-svn: 60122
* Fix 80-col violations.Daniel Dunbar2008-11-251-2/+4
| | | | llvm-svn: 60051
* Implemented ir-gen for 'implicit' properties using the new AST nodes.Fariborz Jahanian2008-11-221-12/+33
| | | | llvm-svn: 59886
OpenPOWER on IntegriCloud