| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | wordsmith an objc warning, rdar://7900756 | Chris Lattner | 2010-04-26 | 2 | -2/+2 |
| | | | | | llvm-svn: 102388 | ||||
| * | Introduce Type::isStructureOrClassType(), which does the obvious | Douglas Gregor | 2010-04-26 | 12 | -17/+35 |
| | | | | | | | | | thing. Audit all uses of Type::isStructure(), changing those calls to isStructureOrClassType() as needed (which is alsmost everywhere). Fixes the remaining failure in Boost.Utility/Swap. llvm-svn: 102386 | ||||
| * | Cleanup error recovery for a missing '-'|'+' | Fariborz Jahanian | 2010-04-26 | 2 | -35/+25 |
| | | | | | | | on a method declaration (radar 7822196). llvm-svn: 102383 | ||||
| * | Implement template instantiation for implicit property references in | Douglas Gregor | 2010-04-26 | 3 | -4/+68 |
| | | | | | | | | Objective-C++. This is the last bit of (non-blocks-related) template instantiation logic for Objective-C++. Yay! llvm-svn: 102382 | ||||
| * | Implement template instantiation for ObjCPropertyRefExpr. | Douglas Gregor | 2010-04-26 | 3 | -17/+64 |
| | | | | | llvm-svn: 102379 | ||||
| * | emit dtors with the right calling convention in -fno-use-cxa-atexit | Chris Lattner | 2010-04-26 | 2 | -3/+28 |
| | | | | | | | mode. llvm-svn: 102377 | ||||
| * | Implement template instantiation for value-dependent Objective-C ivar | Douglas Gregor | 2010-04-26 | 3 | -11/+136 |
| | | | | | | | | | references and isa expressions. Also, test template instantiation of unresolved member references to Objective-C ivar references and isa expressions. llvm-svn: 102374 | ||||
| * | remove alignment specifier on this. CAn't this test be removed yet? :) | Chris Lattner | 2010-04-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 102369 | ||||
| * | Test case for NeXt's -fno-constant-cfstrings option. | Fariborz Jahanian | 2010-04-26 | 1 | -0/+33 |
| | | | | | llvm-svn: 102357 | ||||
| * | Implement template instantiation for Objective-C @catch | Douglas Gregor | 2010-04-26 | 4 | -6/+76 |
| | | | | | | | statements. This is the last of the Objective-C statements. llvm-svn: 102356 | ||||
| * | Refactor Objective-C @catch parameter checking by detangling it from | Douglas Gregor | 2010-04-26 | 6 | -24/+114 |
| | | | | | | | | | function-parameter checking and splitting it into the normal ActOn*/Build* pair in Sema. We now use VarDecl to represent the @catch parameter rather than the ill-fitting ParmVarDecl. llvm-svn: 102347 | ||||
| * | Make the static type of the exception variable in an Objective-C | Douglas Gregor | 2010-04-26 | 7 | -16/+16 |
| | | | | | | | | @catch a VarDecl. The dynamic type is still a ParmVarDecl, but that will change soon. No effective functionality change. llvm-svn: 102341 | ||||
| * | Ensure that we have completed a type before attempting initialization | Douglas Gregor | 2010-04-26 | 2 | -39/+66 |
| | | | | | | | on that type. Fixes several problems in Boost.Interprocess. llvm-svn: 102339 | ||||
| * | tests: Force a triple. | Daniel Dunbar | 2010-04-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 102332 | ||||
| * | When name lookup finds a single declaration that was imported via a | Douglas Gregor | 2010-04-25 | 3 | -3/+22 |
| | | | | | | | | | using declaration, look at its underlying declaration to determine the lookup result kind (e.g., overloaded, unresolved). Fixes at least one issue in Boost.Bimap. llvm-svn: 102317 | ||||
| * | Improve the diagnostic when we find something we did not expect in a | Douglas Gregor | 2010-04-25 | 4 | -18/+18 |
| | | | | | | | | member expression (p-> or x.), by showing the type we looked into and what we did actually find. llvm-svn: 102315 | ||||
| * | IRgen/NeXT: Fix several alignment issues with Objective-C metadata symbols: | Daniel Dunbar | 2010-04-25 | 2 | -14/+27 |
| | | | | | | | | | | - Fix some places that had the alignment hard coded. - Use ABI type alignment, not preferred type alignment -- neither of this is exactly right, as we really want the C type alignment as required by the runtime, but the ABI alignment is a more correct choice. This should be equivalent for x86_64, but fixes the alignment for ARM. llvm-svn: 102314 | ||||
| * | tests: Convert test to FileCheck. | Daniel Dunbar | 2010-04-25 | 1 | -20/+23 |
| | | | | | llvm-svn: 102313 | ||||
| * | IRgen/NeXT: Reuse EmitImageInfo for both fragile and non-fragile ABI. This ↵ | Daniel Dunbar | 2010-04-25 | 2 | -34/+17 |
| | | | | | | | fixes Clang to correctly emit the "CorrectedSynthesize" bit when using the non-fragile ABI. llvm-svn: 102312 | ||||
| * | When performing name lookup for an operator name, be sure to look | Douglas Gregor | 2010-04-25 | 2 | -4/+26 |
| | | | | | | | through using declarations. Fixes ~18 tests in Boost.Fusion. llvm-svn: 102311 | ||||
| * | exclude cmake build directories from being installed | Chris Lattner | 2010-04-25 | 1 | -0/+1 |
| | | | | | | | with "make install". Patch by Michael Forney! llvm-svn: 102299 | ||||
| * | Land another cleanup patch. | Anders Carlsson | 2010-04-25 | 1 | -14/+8 |
| | | | | | llvm-svn: 102293 | ||||
| * | Land this test. | Anders Carlsson | 2010-04-25 | 1 | -1/+16 |
| | | | | | llvm-svn: 102292 | ||||
| * | Tweak test for destruction of copied temporary objects | Douglas Gregor | 2010-04-25 | 1 | -0/+1 |
| | | | | | llvm-svn: 102291 | ||||
| * | When copying a temporary object to initialize an entity for which the | Douglas Gregor | 2010-04-25 | 3 | -3/+27 |
| | | | | | | | | temporary needs to be bound, bind the copy object. Otherwise, we won't end up calling the destructor for the copy. Fixes Boost.Optional. llvm-svn: 102290 | ||||
| * | Revert enough of my patches to fix self-host again :( | Anders Carlsson | 2010-04-25 | 4 | -71/+102 |
| | | | | | llvm-svn: 102289 | ||||
| * | When we create a temporary of class type that we don't immediately | Douglas Gregor | 2010-04-24 | 2 | -5/+59 |
| | | | | | | | | bind, check accessibility of the destructor and mark the declaration as referenced. Fixes a bunch of Boost.Regex failures. llvm-svn: 102287 | ||||
| * | Cleanup SynthesizeCXXCopyConstructor. | Anders Carlsson | 2010-04-24 | 1 | -16/+9 |
| | | | | | llvm-svn: 102286 | ||||
| * | Clean up SynthesizeCXXCopyAssignment a little. | Anders Carlsson | 2010-04-24 | 1 | -15/+11 |
| | | | | | llvm-svn: 102285 | ||||
| * | RenameGetAddressOfBaseOfCompleteClass to ↵ | Anders Carlsson | 2010-04-24 | 2 | -27/+28 |
| | | | | | | | GetAddressOfDirectBaseInCompleteClass to reflect that it only handles direct bases. llvm-svn: 102284 | ||||
| * | Add an explicit UsuallyTinyPtrVector that takes a single element. | Anders Carlsson | 2010-04-24 | 2 | -4/+5 |
| | | | | | llvm-svn: 102283 | ||||
| * | More cleanup. | Anders Carlsson | 2010-04-24 | 2 | -27/+18 |
| | | | | | llvm-svn: 102282 | ||||
| * | Simplify EmitClassMemberwiseCopy now that it's only used for fields. | Anders Carlsson | 2010-04-24 | 2 | -28/+14 |
| | | | | | llvm-svn: 102281 | ||||
| * | Switch this to new API. | Nick Lewycky | 2010-04-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 102280 | ||||
| * | DefineImplicitCopyConstructor now uses SetBaseOrMemberInitializers to create ↵ | Anders Carlsson | 2010-04-24 | 3 | -31/+30 |
| | | | | | | | implicit base initializers. (Member initializers are still handled by CodeGenFunction::SynthesizeCXXCopyConstructor for now). llvm-svn: 102279 | ||||
| * | When building implicit base initializers, add a derived-to-base cast that ↵ | Anders Carlsson | 2010-04-24 | 1 | -0/+7 |
| | | | | | | | points to the exact base specifier. llvm-svn: 102277 | ||||
| * | Rename GetAddressOfBaseClass to OldGetAddressOfBaseClass. | Anders Carlsson | 2010-04-24 | 2 | -53/+15 |
| | | | | | llvm-svn: 102275 | ||||
| * | Get rid of the old GetNonVirtualBaseClassOffset and change all call sites to ↵ | Anders Carlsson | 2010-04-24 | 5 | -34/+5 |
| | | | | | | | use the new version. llvm-svn: 102274 | ||||
| * | Change CodeGenFunction::GetAddressOfDerivedClass to take a BasePath. | Anders Carlsson | 2010-04-24 | 5 | -23/+31 |
| | | | | | llvm-svn: 102273 | ||||
| * | Convert more call sites over to the new GetAddressOfBaseClass. | Anders Carlsson | 2010-04-24 | 3 | -12/+8 |
| | | | | | llvm-svn: 102272 | ||||
| * | When we attempt to create a temporary object of class type, be sure | Douglas Gregor | 2010-04-24 | 3 | -2/+23 |
| | | | | | | | | | | | that the type we're copying is complete. Boost.Regex now builds, although it's failing its regression tests with our favorite "Sema doesn't consider destructor as used." assertion. llvm-svn: 102271 | ||||
| * | Add a new GetAddressOfBaseClass overload that takes a base path and. Use it ↵ | Anders Carlsson | 2010-04-24 | 3 | -10/+112 |
| | | | | | | | for derived-to-base casts. llvm-svn: 102270 | ||||
| * | When we are performing copy initialization of a class type via its | Douglas Gregor | 2010-04-24 | 4 | -12/+47 |
| | | | | | | | | | | | | copy constructor, suppress user-defined conversions on the argument. Otherwise, we can end up in a recursion loop where the bind the argument of the copy constructor to another copy constructor call, whose argument is then a copy constructor call... Found by Boost.Regex which, alas, still isn't building. llvm-svn: 102269 | ||||
| * | Headers: Hide intptr_t and uintptr_t definitions behind _INTPTR_T and _UINTPTR_T | Daniel Dunbar | 2010-04-24 | 1 | -0/+7 |
| | | | | | | | | | defines, for increased compatibility with Darwin gcc. - This is a bit of a hack, since platform compatibility issues don't belong here, but I don't think this hurts anyone either. llvm-svn: 102264 | ||||
| * | Fix pasto, add a comment. | Benjamin Kramer | 2010-04-24 | 2 | -1/+2 |
| | | | | | llvm-svn: 102263 | ||||
| * | Factor code. No functionality change. | Benjamin Kramer | 2010-04-24 | 2 | -137/+38 |
| | | | | | llvm-svn: 102262 | ||||
| * | Add base paths for CK_BaseToDerived and CK_BaseToDerivedMemberPointer. | Anders Carlsson | 2010-04-24 | 5 | -21/+32 |
| | | | | | llvm-svn: 102261 | ||||
| * | Add base paths to CK_UncheckedDerivedToBase and CK_DerivedToBaseMemberPointer. | Anders Carlsson | 2010-04-24 | 4 | -21/+25 |
| | | | | | llvm-svn: 102260 | ||||
| * | Actually produce base paths for CastExprs of kind CK_DerivedToBase. | Anders Carlsson | 2010-04-24 | 11 | -61/+140 |
| | | | | | llvm-svn: 102259 | ||||
| * | Add BasePath arguments to all cast expr constructors. | Anders Carlsson | 2010-04-24 | 7 | -27/+53 |
| | | | | | llvm-svn: 102258 | ||||

