Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix -forwardingTargetForSelector: (GNUstep runtime) which was broken for the | David Chisnall | 2011-12-01 | 1 | -0/+2 | |
| | | | | | | old dispatch mechanism when I introduced the new one. llvm-svn: 145609 | |||||
* | It turns out that the Objective-C message lookup functions can throw ↵ | David Chisnall | 2011-10-28 | 1 | -11/+14 | |
| | | | | | | exceptions after all... llvm-svn: 143205 | |||||
* | Change an int64_t to an intptr_t so that we don't end up with crashes in the ↵ | David Chisnall | 2011-10-25 | 1 | -8/+8 | |
| | | | | | | back end on large classes on 32-bit. llvm-svn: 142918 | |||||
* | Remove debugging printfs that some idiot left in. | David Chisnall | 2011-10-24 | 1 | -3/+0 | |
| | | | | llvm-svn: 142796 | |||||
* | Enable experimental support for objc_msgSend with GNUstep ObjC runtime. | David Chisnall | 2011-10-24 | 1 | -9/+32 | |
| | | | | llvm-svn: 142795 | |||||
* | Apparently getPtrToInt() takes an explicit type parameter to allow you to ↵ | David Chisnall | 2011-10-08 | 1 | -3/+10 | |
| | | | | | | generate invalid bitcode, not so that it can actually produce a value of this type. This should fix PR11085. llvm-svn: 141482 | |||||
* | Fix warning on MSVC. Patch by Aaron Ballman. | Eli Friedman | 2011-10-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 141467 | |||||
* | Add bitmaps for strong / weak ivar layout (GNUstep runtime). | David Chisnall | 2011-10-04 | 1 | -18/+102 | |
| | | | | llvm-svn: 141085 | |||||
* | When performing an @throw in ARC, retain + autorelease | John McCall | 2011-10-01 | 1 | -1/+1 | |
| | | | | | | | the pointer, being sure to do so before running cleanups associated with that full-expression. rdar://10042689 llvm-svn: 140945 | |||||
* | de-tmpify clang. | Benjamin Kramer | 2011-09-27 | 1 | -2/+1 | |
| | | | | llvm-svn: 140637 | |||||
* | Switch assert(0/false) llvm_unreachable. | David Blaikie | 2011-09-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 140367 | |||||
* | Change "ivar" to true for a boolean function argument. Since string ↵ | Richard Trieu | 2011-09-21 | 1 | -2/+3 | |
| | | | | | | literals are cast to true, this should no effect on behavior. llvm-svn: 140231 | |||||
* | Switch LangOptions over to a .def file that describes header of the | Douglas Gregor | 2011-09-13 | 1 | -5/+5 | |
| | | | | | | | | | | language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs. AST serialization changes are next up. llvm-svn: 139605 | |||||
* | switch clang to use the new-new way of creating llvm::StructType's. | Chris Lattner | 2011-08-12 | 1 | -2/+1 | |
| | | | | llvm-svn: 137472 | |||||
* | Fix typo so we don't use the wrong function for ending ObjC++ catch blocks ↵ | David Chisnall | 2011-08-08 | 1 | -1/+1 | |
| | | | | | | (GNU runtimes) llvm-svn: 137052 | |||||
* | Fix linkage type for tentative definition of ivar offset variables (GNUstep ↵ | David Chisnall | 2011-08-01 | 1 | -2/+2 | |
| | | | | | | runtime) llvm-svn: 136628 | |||||
* | Remove some unnecessary single element array temporaries. | Jay Foad | 2011-07-29 | 1 | -8/+5 | |
| | | | | llvm-svn: 136461 | |||||
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 1 | -67/+66 | |
| | | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852 | |||||
* | Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. | Jordy Rose | 2011-07-22 | 1 | -14/+10 | |
| | | | | | | | | | This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the chain is invalidated). In practice, all the clients were just const_casting their const Decls; all those now-unnecessary const_casts have been removed. llvm-svn: 135741 | |||||
* | Convert ConstantExpr::getGetElementPtr and | Jay Foad | 2011-07-21 | 1 | -5/+5 | |
| | | | | | | ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673 | |||||
* | de-constify llvm::Type, patch by David Blaikie! | Chris Lattner | 2011-07-18 | 1 | -20/+20 | |
| | | | | llvm-svn: 135370 | |||||
* | Convert CallInst and InvokeInst APIs to use ArrayRef. | Jay Foad | 2011-07-15 | 1 | -5/+4 | |
| | | | | llvm-svn: 135265 | |||||
* | De-constify Types in StructType::get() and TargetData::getIntPtrType(). | Jay Foad | 2011-07-11 | 1 | -2/+2 | |
| | | | | llvm-svn: 134893 | |||||
* | clang side to match the LLVM IR type system rewrite patch. | Chris Lattner | 2011-07-09 | 1 | -30/+24 | |
| | | | | llvm-svn: 134831 | |||||
* | If we're using the pure non-fragile ABI, then skip some of the contortions ↵ | David Chisnall | 2011-07-07 | 1 | -9/+30 | |
| | | | | | | required to support the transitional ABI. llvm-svn: 134612 | |||||
* | Set a flag to tell the runtime when we're compiling in ARC mode and use the ↵ | David Chisnall | 2011-07-07 | 1 | -10/+19 | |
| | | | | | | pure-nonfragile ABI for both ARC and GC mode. llvm-svn: 134611 | |||||
* | Add support for weakly imported classes (GNU runtime). | David Chisnall | 2011-06-30 | 1 | -5/+8 | |
| | | | | llvm-svn: 134140 | |||||
* | Add ARC support for the GNUstep runtime. | David Chisnall | 2011-06-29 | 1 | -6/+20 | |
| | | | | llvm-svn: 134065 | |||||
* | Support for catching objc pointer objects in c++ catch-statement | Fariborz Jahanian | 2011-06-23 | 1 | -2/+2 | |
| | | | | | | in fragile abi mode and some other cleanups. // rdar://8940528 llvm-svn: 133747 | |||||
* | Alloa catching Objective-C id's being thrown with C++ throw | Fariborz Jahanian | 2011-06-22 | 1 | -2/+2 | |
| | | | | | | in Darwin's fragile abi mode. // rdar://8940528 llvm-svn: 133639 | |||||
* | Update to match mainline ConstantStruct::get API change. Also, use | Chris Lattner | 2011-06-20 | 1 | -3/+3 | |
| | | | | | | | | | | | ConvertType on InitListExprs as they are being converted. This is needed for a forthcoming patch, and improves the IR generated anyway (see additional type names in testcases). This patch also converts a bunch of std::vector's in CGObjCMac to use C arrays. There are a ton more that should be converted as well. llvm-svn: 133413 | |||||
* | update for api change. | Chris Lattner | 2011-06-18 | 1 | -27/+25 | |
| | | | | llvm-svn: 133365 | |||||
* | Automatic Reference Counting. | John McCall | 2011-06-15 | 1 | -2/+2 | |
| | | | | | | | | | | Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103 | |||||
* | Fix another incorrect type bug. | David Chisnall | 2011-05-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 132311 | |||||
* | Eliminate temporary argument vectors. | Benjamin Kramer | 2011-05-28 | 1 | -15/+8 | |
| | | | | llvm-svn: 132260 | |||||
* | Fix another type mismatch. | David Chisnall | 2011-05-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 132259 | |||||
* | Fix missing cast. | David Chisnall | 2011-05-28 | 1 | -5/+7 | |
| | | | | llvm-svn: 132258 | |||||
* | Remove bitcast to incorrect type. | David Chisnall | 2011-05-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 132077 | |||||
* | Fix bug introduced with r131930. | David Chisnall | 2011-05-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 131935 | |||||
* | Don't omit retain / release / autorelease message sends in hybrid GC mode. | David Chisnall | 2011-05-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 131932 | |||||
* | Fix some problems where functions must be bitcast but we're expecting a ↵ | David Chisnall | 2011-05-23 | 1 | -11/+14 | |
| | | | | | | | | llvm::Function of the right type. PR9994. llvm-svn: 131930 | |||||
* | Provide the runtime with information about the GC compile options (GNU runtimes) | David Chisnall | 2011-05-22 | 1 | -4/+18 | |
| | | | | llvm-svn: 131877 | |||||
* | Patch to fix IR-gen crash generating structure ABI which implements | Fariborz Jahanian | 2011-05-17 | 1 | -0/+4 | |
| | | | | | | | user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496 | |||||
* | Simplify code a bit by using CallArgList::add. No intended functionality ↵ | Eli Friedman | 2011-05-02 | 1 | -9/+4 | |
| | | | | | | change. llvm-svn: 130699 | |||||
* | Remove a dead variable flagged by gcc's -Wunused-but-set-variable. No | Nick Lewycky | 2011-05-02 | 1 | -2/+0 | |
| | | | | | | functionality change. llvm-svn: 130672 | |||||
* | Don't crash if the AST doesn't have a sensible ObjC id type. | David Chisnall | 2011-04-29 | 1 | -4/+6 | |
| | | | | llvm-svn: 130500 | |||||
* | Remove unused STL header includes. | Jay Foad | 2011-04-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 130068 | |||||
* | Replace a couple of literal 8s with ASTContext::getCharWidth(). No change in | Ken Dyck | 2011-04-22 | 1 | -4/+8 | |
| | | | | | | functionality intended. llvm-svn: 130002 | |||||
* | PR9214: Convert Metadata API to use ArrayRef. | Jay Foad | 2011-04-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 129929 | |||||
* | fix a bunch of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 | |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559 |