John McCall
|
de5d3c7176
Whether an argument is required (in contrast with being an
|
13 سال پیش |
Eli Friedman
|
22cfaf512e
Elide copy construction in new expressions. PR11757.
|
13 سال پیش |
Sebastian Redl
|
2aed8b8861
Revert "Revert "Make CXXNewExpr contain only a single initialier, and not hold the used constructor itself.""
|
13 سال پیش |
Sebastian Redl
|
1548d14f40
Revert "Make CXXNewExpr contain only a single initialier, and not hold the used constructor itself."
|
13 سال پیش |
Sebastian Redl
|
5f688f4b15
Make CXXNewExpr contain only a single initialier, and not hold the used constructor itself.
|
13 سال پیش |
Eli Friedman
|
b74ed08746
Implement IRGen of lambda expressions which capture arrays.
|
13 سال پیش |
Eli Friedman
|
f8823e7ae0
Use RAII object for cleanups.
|
13 سال پیش |
Eli Friedman
|
4c5d8afd10
Refactor lambda IRGen so AggExprEmitter::VisitLambdaExpr does the right thing.
|
13 سال پیش |
Chris Lattner
|
8b418685e9
simplify a bunch of code to use the well-known LLVM IR types computed by CodeGenModule.
|
13 سال پیش |
Eli Friedman
|
40563cd5ea
Make array new on a pointer to data member type work correctly. PR11523.
|
13 سال پیش |
Eli Friedman
|
6da2c71601
Switch LValue so that it exposes alignment in CharUnits. (No functional change.)
|
13 سال پیش |
Eli Friedman
|
d7722d9d76
Switch the Alignment argument on AggValueSlot over to CharUnits, per John's review comment.
|
13 سال پیش |
Eli Friedman
|
f394078fde
Track alignment in AggValueSlot. No functional change in this patch, but I'll be introducing uses of the specified alignment soon.
|
13 سال پیش |
John McCall
|
6f103ba42c
Whenever explicitly activating or deactivating a cleanup, we
|
13 سال پیش |
Eli Friedman
|
2ed7cb649a
PR11124: Don't overwrite memory outside of a base class when performing zero-initialization before running its constructor.
|
14 سال پیش |
Peter Collingbourne
|
6c0aa5ff6e
CUDA: IR generation support for kernel call expressions
|
14 سال پیش |
John McCall
|
197056726e
Rewrite this loop to use partial destruction; I'm not sure it's
|
14 سال پیش |
Eli Friedman
|
576cf17055
Rearrange code so that we pass the right pointer to delete[] when an exception is thrown constructing the array elements in an array new expression. Fixes PR10870.
|
14 سال پیش |
Douglas Gregor
|
b2b5658a8e
When performing a derived-to-base cast on the right-hand side of the
|
14 سال پیش |
Sebastian Redl
|
85ea7aa961
Declare and define implicit move constructor and assignment operator.
|
14 سال پیش |
John McCall
|
4418439220
Since the 'is aliased' bit is critical for correctness in C++, it
|
14 سال پیش |
John McCall
|
7c2349be2d
Use stronger typing for the flags on AggValueSlot and require
|
14 سال پیش |
Eli Friedman
|
aebab72698
PR10566: Make sure codegen for deleting an pointer to an incomplete type actually works.
|
14 سال پیش |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
14 سال پیش |
Jay Foad
|
0f6ac7cf7b
Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to use
|
14 سال پیش |
Chris Lattner
|
2acc6e3fed
de-constify llvm::Type, patch by David Blaikie!
|
14 سال پیش |
Jay Foad
|
4c7d9f1507
Convert CallInst and InvokeInst APIs to use ArrayRef.
|
14 سال پیش |
Benjamin Kramer
|
8dd55a3c3b
Change intrinsic getter to take an ArrayRef, now that the underlying function in LLVM does.
|
14 سال پیش |
John McCall
|
fbf780a9d1
Okay, that rule about zero-length arrays applies to destroying
|
14 سال پیش |
John McCall
|
dd376cae98
Arrays are permitted to be zero-length in some situations.
|
14 سال پیش |