- Sep 14, 2009
-
-
Anders Carlsson authored
llvm-svn: 81759
-
- Sep 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 81486
-
Anders Carlsson authored
llvm-svn: 81485
-
- Sep 09, 2009
-
-
Anders Carlsson authored
If a cast expression needs either a conversion function or a constructor to be called, generate implicit child expressions that call them. llvm-svn: 81383
-
Mike Stump authored
llvm-svn: 81346
-
- Aug 29, 2009
-
-
Fariborz Jahanian authored
[12.3.2-p3] llvm-svn: 80436
-
- Aug 27, 2009
-
-
Mike Stump authored
llvm-svn: 80163
-
- Aug 24, 2009
-
-
Anders Carlsson authored
llvm-svn: 79921
-
- Aug 17, 2009
-
-
Fariborz Jahanian authored
one is not provided by user. 2) More complete emission of ctor prologue when it has no initializer list or when it is synthesized. llvm-svn: 79269
-
- Aug 15, 2009
-
-
Eli Friedman authored
consistent model for handling size expressions for VLAs. The model is essentially as follows: VLA types own their associated expression. In some cases, we need to create multiple VLA types to represent a given VLA (for canonical types, or qualifiers on array types, or type merging). If we need to create multiple types based off of the same VLA declaration, we use the new refcounting functionality so they can all own the expression. The VLASizeMap in CodeGenFunction then uses the size expression to identify the group of VLA types based off of the same original declaration. I'm not particularly attached to the VLA types owning the expression, but we're stuck with at least until someone comes up with a way to walk the VLA expressions for a declaration. I did the parallel fix in ASTContext for DependentSizedArrayType, but I haven't really looked closely at it, so there might still be issues there. I'll clean up the code duplication in ASTContext in a followup commit. llvm-svn: 79071
-
Chris Lattner authored
llvm-svn: 79059
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78946
-
- Aug 12, 2009
-
-
Fariborz Jahanian authored
WIP. llvm-svn: 78841
-
- Aug 10, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78582
-
- Aug 09, 2009
-
-
Anders Carlsson authored
llvm-svn: 78536
-
Anders Carlsson authored
llvm-svn: 78515
-
- Aug 08, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78489
-
Fariborz Jahanian authored
copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
-
- Aug 07, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78402
-
Fariborz Jahanian authored
Work in progress. llvm-svn: 78355
-
- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77722
-
Fariborz Jahanian authored
been declared as needed. llvm-svn: 77641
-
Owen Anderson authored
llvm-svn: 77638
-
- Jul 30, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 77608
-
Owen Anderson authored
llvm-svn: 77514
-
- Jul 29, 2009
-
-
Ted Kremenek authored
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
-
- Jul 25, 2009
-
-
Owen Anderson authored
llvm-svn: 77012
-
- Jul 23, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76862
-
- Jul 21, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 76498
-
Fariborz Jahanian authored
llvm-svn: 76493
-
- Jul 20, 2009
-
-
Mike Stump authored
llvm-svn: 76473
-
- Jul 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76365
-
Daniel Dunbar authored
- Emit variable declarations as "simple", we want to avoid forcing the creation of a dummy basic block, but still need to make the variable available for later use. - With that, we can now skip IRgen for other unreachable statements (which don't define a label). - Anders, I added two fixmes on calls to EmitVLASize, can you check them? llvm-svn: 76361
-
- Jul 17, 2009
-
-
Ted Kremenek authored
until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger. llvm-svn: 76193
-
Ted Kremenek authored
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139
-
- Jul 16, 2009
-
-
Ted Kremenek authored
This method is intended to eventually replace the individual Type::getAsXXXType<> methods. The motivation behind this change is twofold: 1) Reduce redundant implementations of Type::getAsXXXType() methods. Most of them are basically copy-and-paste. 2) By centralizing the implementation of the getAs<Type> logic we can more smoothly move over to Doug Gregor's proposed canonical type smart pointer scheme. Along with this patch: a) Removed 'Type::getAsPointerType()'; now clients use getAs<PointerType>. b) Removed 'Type::getAsBlockPointerTypE()'; now clients use getAs<BlockPointerType>. llvm-svn: 76098
-
- Jul 15, 2009
-
-
Owen Anderson authored
llvm-svn: 75705
-
- Jul 13, 2009
-
-
Owen Anderson authored
llvm-svn: 75446
-
- Jul 08, 2009
-
-
Owen Anderson authored
llvm-svn: 75041
-
- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
Timings showed no significant difference before and after the commit. llvm-svn: 74504
-