Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename StartConditionalBranch/FinishConditionalBranch to ↵ | Anders Carlsson | 2010-02-04 | 1 | -4/+4 | |
| | | | | | | BeginConditionalBranch/EndConditionalBranch. llvm-svn: 95308 | |||||
* | Calculate offset correctly when taking the address of a virtual member function. | Anders Carlsson | 2010-02-04 | 1 | -1/+5 | |
| | | | | llvm-svn: 95305 | |||||
* | Handle reference binding in aggregate initializers. Fixes another 47 tests. | Anders Carlsson | 2010-02-03 | 1 | -5/+5 | |
| | | | | llvm-svn: 95235 | |||||
* | Add a band-aid fix for clang self-hosting. A better fix will follow shortly. | Anders Carlsson | 2010-02-03 | 1 | -0/+3 | |
| | | | | llvm-svn: 95232 | |||||
* | More cleanup. | Anders Carlsson | 2010-02-03 | 1 | -10/+14 | |
| | | | | llvm-svn: 95226 | |||||
* | Some class related cleanup. | Anders Carlsson | 2010-01-31 | 1 | -2/+2 | |
| | | | | llvm-svn: 94938 | |||||
* | Simplify EmitLValueForField - we can get whether the field is part of a ↵ | Anders Carlsson | 2010-01-29 | 1 | -2/+2 | |
| | | | | | | union or not from the FieldDecl (through its DeclContext). llvm-svn: 94798 | |||||
* | When emitting member function pointers, use the canonical decl if the member ↵ | Anders Carlsson | 2010-01-05 | 1 | -1/+2 | |
| | | | | | | function is virtual. Fixes PR5940. llvm-svn: 92680 | |||||
* | Revert r92431, this code isn't dead and broke the ntfs build. | Daniel Dunbar | 2010-01-04 | 1 | -0/+1 | |
| | | | | llvm-svn: 92493 | |||||
* | Delete impossible case. | Eli Friedman | 2010-01-02 | 1 | -1/+0 | |
| | | | | llvm-svn: 92431 | |||||
* | Minor optimization; emit proper unsupported messages for a couple of cases. | Eli Friedman | 2009-12-25 | 1 | -2/+6 | |
| | | | | llvm-svn: 92153 | |||||
* | Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us ↵ | Anders Carlsson | 2009-12-24 | 1 | -0/+7 | |
| | | | | | | halfway towards fixing PR5824. llvm-svn: 92142 | |||||
* | Handle case when DestPtr is 0. | Mike Stump | 2009-12-18 | 1 | -3/+22 | |
| | | | | llvm-svn: 91658 | |||||
* | When value-initializing a class with no user-defined constructors but | Douglas Gregor | 2009-12-16 | 1 | -0/+5 | |
| | | | | | | | with a non-trivial default constructor, zero-initialize the storage and then call the default constructor. Fixes PR5800. llvm-svn: 91548 | |||||
* | Handle ImplicitValueInitExpr in AggExprEmitter. | Anders Carlsson | 2009-12-16 | 1 | -2/+8 | |
| | | | | llvm-svn: 91519 | |||||
* | Add throw support. WIP. | Mike Stump | 2009-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 90982 | |||||
* | Update chunk of #if 0'ed code to remove fixed FIXME and make it compile. We | Eli Friedman | 2009-12-04 | 1 | -11/+6 | |
| | | | | | | | probably want to do some sort of performance assessment before enabling it, though. llvm-svn: 90510 | |||||
* | Remove remaining VISIBILITY_HIDDEN from anonymous namespaces. | Benjamin Kramer | 2009-11-28 | 1 | -2/+1 | |
| | | | | llvm-svn: 90044 | |||||
* | Add case for CK_DerivedToBaseMemberPointer cast kind to | Eli Friedman | 2009-11-27 | 1 | -6/+13 | |
| | | | | | | AggExprEmitter::VisitCastExpr. llvm-svn: 89988 | |||||
* | Fix lifetime of conditional temporaries. Patch by Victor Zverovich! | Anders Carlsson | 2009-11-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 89467 | |||||
* | Fix one last gotcha with typeid. | Mike Stump | 2009-11-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 89172 | |||||
* | Add Code gen support for '->*' operator which fell | Fariborz Jahanian | 2009-10-26 | 1 | -1/+2 | |
| | | | | | | through the crack. llvm-svn: 85160 | |||||
* | Eliminate QualifiedDeclRefExpr, which captured the notion of a | Douglas Gregor | 2009-10-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | qualified reference to a declaration that is not a non-static data member or non-static member function, e.g., namespace N { int i; } int j = N::i; Instead, extend DeclRefExpr to optionally store the qualifier. Most clients won't see or care about the difference (since QualifierDeclRefExpr inherited DeclRefExpr). However, this reduces the number of top-level expression types that clients need to cope with, brings the implementation of DeclRefExpr into line with MemberExpr, and simplifies and unifies our handling of declaration references. Extended DeclRefExpr to (optionally) store explicitly-specified template arguments. This occurs when naming a declaration via a template-id (which will be stored in a TemplateIdRefExpr) that, following template argument deduction and (possibly) overload resolution, is replaced with a DeclRefExpr that refers to a template specialization but maintains the template arguments as written. llvm-svn: 84962 | |||||
* | Complete code gen for '.*' binary expression for | Fariborz Jahanian | 2009-10-22 | 1 | -1/+11 | |
| | | | | | | both scalar and aggregates. llvm-svn: 84910 | |||||
* | Use CK_BitCast for member function pointer casts. Fixes PR5138. | Anders Carlsson | 2009-10-18 | 1 | -0/+6 | |
| | | | | llvm-svn: 84438 | |||||
* | add support for codegening CXXZeroInitValueExprs | Nuno Lopes | 2009-10-18 | 1 | -0/+6 | |
| | | | | llvm-svn: 84418 | |||||
* | Suppress -Asserts warning. | Daniel Dunbar | 2009-10-17 | 1 | -0/+1 | |
| | | | | llvm-svn: 84329 | |||||
* | Simplify pointer creation with the new Type::getInt*Ptr methods. | Benjamin Kramer | 2009-10-13 | 1 | -2/+1 | |
| | | | | llvm-svn: 83964 | |||||
* | Move the vtable builder to CGVtable.cpp, general cleanup. | Anders Carlsson | 2009-10-11 | 1 | -1/+2 | |
| | | | | llvm-svn: 83798 | |||||
* | Pass the canonical method decl to GetVtableIndex. Fixes PR5120. | Anders Carlsson | 2009-10-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 83272 | |||||
* | Teach AggExprEmitter about pointers to member functions. | Anders Carlsson | 2009-10-03 | 1 | -0/+33 | |
| | | | | llvm-svn: 83266 | |||||
* | Move some functions from CodeGenFunctions to CodeGenModule so they can be ↵ | Anders Carlsson | 2009-10-03 | 1 | -1/+1 | |
| | | | | | | used by CGExprConstant. llvm-svn: 83263 | |||||
* | Handle CK_BaseToDerivedMemberPointer for member function pointers. Fixes PR5091. | Anders Carlsson | 2009-09-29 | 1 | -1/+34 | |
| | | | | llvm-svn: 83041 | |||||
* | Improve support for member function pointers. | Anders Carlsson | 2009-09-29 | 1 | -0/+15 | |
| | | | | llvm-svn: 83039 | |||||
* | Use a switch statement in VisitCastExpr. | Anders Carlsson | 2009-09-29 | 1 | -12/+16 | |
| | | | | llvm-svn: 83038 | |||||
* | Refactor the representation of qualifiers to bring ExtQualType out of the | John McCall | 2009-09-24 | 1 | -5/+6 | |
| | | | | | | | | Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705 | |||||
* | If a cast expression needs either a conversion function or a constructor to ↵ | Anders Carlsson | 2009-09-09 | 1 | -10/+3 | |
| | | | | | | be called, generate implicit child expressions that call them. llvm-svn: 81383 | |||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -39/+39 | |
| | | | | llvm-svn: 81346 | |||||
* | Re-implemented generation of objc_memmove_collectable | Fariborz Jahanian | 2009-08-31 | 1 | -12/+17 | |
| | | | | | | API for copying GC'able aggregates (Next runtime only). llvm-svn: 80607 | |||||
* | Patch for code gen. for c-style cast which ends in | Fariborz Jahanian | 2009-08-29 | 1 | -2/+6 | |
| | | | | | | using class's conversion functions [12.3.2-p2] llvm-svn: 80433 | |||||
* | ir-gen for type convesion of class objects. WIP. | Fariborz Jahanian | 2009-08-26 | 1 | -1/+6 | |
| | | | | llvm-svn: 80178 | |||||
* | Using "ObjCImplicitSetterGetterRefExpr" instead of ↵ | Fariborz Jahanian | 2009-08-20 | 1 | -3/+3 | |
| | | | | | | | | "ObjCImplctSetterGetterRefExpr". A field rename and more comments. llvm-svn: 79537 | |||||
* | Renamed ObjCKVCRefExpr to ObjCImplctSetterGetterRefExpr. | Fariborz Jahanian | 2009-08-18 | 1 | -2/+3 | |
| | | | | | | | | Removed an unnecessary loop to get to setters incoming argument. Added DoxyGen comments. Still more work to do in this area (WIP). llvm-svn: 79365 | |||||
* | Add an IsInitializer flag to EmitAnyExpr. This is used to prevent ↵ | Anders Carlsson | 2009-08-16 | 1 | -8/+13 | |
| | | | | | | temporaries from being destroyed when they're bound to a reference variable. llvm-svn: 79179 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-13 | 1 | -3/+5 | |
| | | | | llvm-svn: 78946 | |||||
* | Add CK_ToUnion and use it for aggregate expression codegen. | Anders Carlsson | 2009-08-07 | 1 | -9/+8 | |
| | | | | llvm-svn: 78429 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 77722 | |||||
* | Canonicalize else spacing. | Mike Stump | 2009-07-30 | 1 | -2/+1 | |
| | | | | llvm-svn: 77629 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 77514 | |||||
* | Change uses of: | Ted Kremenek | 2009-07-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc. This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach. llvm-svn: 77510 |