- Dec 13, 2011
-
-
Nick Lewycky authored
llvm-svn: 146476
-
Nick Lewycky authored
llvm-svn: 146454
-
Eli Friedman authored
Make CGRecordLayoutBuilder correctly switch over to a packed class when a class has a base whose alignment will break the class layout. <rdar://problem/10551376>. llvm-svn: 146443
-
- Dec 10, 2011
-
-
Douglas Gregor authored
template instantiation), and that expression might produce a temporary, invoke MaybeBindToTemporary. Otherwise, we forget to destroy objects, release objects, etc. Fixes <rdar://problem/10531073>. llvm-svn: 146301
-
Eli Friedman authored
llvm-svn: 146291
-
- Dec 07, 2011
-
-
Eli Friedman authored
Make sure we correctly zero-initialize unions containing a pointer to data member as the first field. PR11487. llvm-svn: 146009
-
- Dec 03, 2011
-
-
Douglas Gregor authored
types. Patch from Dmitri Rubinstein! llvm-svn: 145776
-
- Dec 02, 2011
-
-
Richard Smith authored
mutable member and a constant initializer. We'd previously promoted such variables to global constants, resulting in nasal demons if the mutable member was modified. This is only a temporary fix. The subtle interplay between isConstantInitializer and CGExprConstant is very bug-prone; there are some other issues in this area which I will be addressing in subsequent, more major reworking of this code. llvm-svn: 145654
-
- Dec 01, 2011
-
-
Michael J. Spencer authored
llvm-svn: 145581
-
- Nov 28, 2011
-
-
Douglas Gregor authored
consider the _<width> variants as well, which we'll see if we're performing the type checking in a template instantiation where the call expression itself was originally not type-dependent. Fixes PR11411. llvm-svn: 145248
-
- Nov 27, 2011
-
-
Peter Collingbourne authored
array of objects with non-trivial destructors. PR11365. llvm-svn: 145203
-
Rafael Espindola authored
llvm-svn: 145189
-
Sebastian Redl authored
This supports single-element initializer lists for references according to DR1288, as well as creating temporaries and binding to them for other initializer lists. llvm-svn: 145186
-
- Nov 23, 2011
-
-
Richard Smith authored
llvm-svn: 145093
-
- Nov 22, 2011
-
-
Richard Smith authored
appear in non-constant initializers in C++. llvm-svn: 145087
-
- Nov 18, 2011
-
-
Eli Friedman authored
Simplify code for returning a struct for Darwin x86-32 ABI. Use a better type for a function returning a struct containing only a pointer. Handle the edge case of a struct containing only a float or double plus some dead padding instead of asserting. llvm-svn: 144960
-
- Nov 17, 2011
-
-
Richard Smith authored
and base-to-derived casts, and add proper handling of temporaries. llvm-svn: 144926
-
- Nov 16, 2011
-
-
Eli Friedman authored
llvm-svn: 144761
-
Eli Friedman authored
llvm-svn: 144745
-
- Nov 13, 2011
-
-
Peter Collingbourne authored
literals of array type, materialise a temporary. llvm-svn: 144483
-
- Nov 12, 2011
-
-
Richard Smith authored
or MemberExpr which refers to it. As a side-effect, MemberExprs which refer to static member functions and static data members are now emitted as constant expressions. llvm-svn: 144468
-
Eli Friedman authored
llvm-svn: 144428
-
- Nov 11, 2011
-
-
John McCall authored
guarantees alignment up to the ABI alignment of the return type. llvm-svn: 144364
-
John McCall authored
enclosing full-expressions. It is somewhat amazing that this hasn't come up as a problem before. llvm-svn: 144362
-
- Nov 10, 2011
-
-
John McCall authored
need to provide a 'dominating IP' which is guaranteed to dominate the (de)activation point but which cannot be avoided along any execution path from the (de)activation point to the push-point of the cleanup. Using the entry block is bad mojo. llvm-svn: 144276
-
John McCall authored
a previously-inactive cleanup, not only do we need a flag variable, but we should also force the cleanup to query the flag variable. However, we only need to do this when we're activating in a context that's conditionally executed; otherwise, we may safely assume that the cleanup is dominated by the activation point. llvm-svn: 144271
-
- Nov 09, 2011
-
-
Benjamin Kramer authored
llvm-svn: 144185
-
- Nov 08, 2011
-
-
Eli Friedman authored
llvm-svn: 144112
-
- Nov 05, 2011
-
-
Daniel Dunbar authored
to go through the driver. llvm-svn: 143791
-
- Nov 04, 2011
-
-
Devang Patel authored
Enable -flimit-debug-info by default. Now, clang lazily emits debug info for structs. Original behavior can be restored using -fno-limit-debug-info. llvm-svn: 143733
-
- Nov 03, 2011
-
-
Douglas Gregor authored
and don't try to destroy them, either. Fixes <rdar://problem/10228639>. llvm-svn: 143584
-
- Nov 02, 2011
-
-
Fariborz Jahanian authored
rvale-references are captured by reference in blocks. // rdar://9971124. llvm-svn: 143583
-
- Nov 01, 2011
-
-
Fariborz Jahanian authored
c++ object into block descriptor. // rdar://9971124 llvm-svn: 143475
-
Eli Friedman authored
Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving treating wide strings as a series of bytes. Patch by Seth Cantrell. llvm-svn: 143417
-
Fariborz Jahanian authored
In this case, temporary value is copied into block descriptor as their own copy to work on. // rdar://9971124 llvm-svn: 143399
-
- Oct 28, 2011
-
-
Devang Patel authored
In case of template specialization, do not try to delay emitting debug info for concrete type in -flimit-debug-info mode. This fixes some of the failures from bs15503.exp tests in gdb testsuite. llvm-svn: 143227
-
Richard Smith authored
are present in all the necessary places: In constant expression evaluation, evaluate lvalues as lvalues and rvalues as rvalues. Remove special case for caching reference initialization and fix a cyclic initialization crash in the process. llvm-svn: 143204
-
John McCall authored
a binary operator involving a dependently-typed overload set. llvm-svn: 143172
-
- Oct 27, 2011
-
-
Nick Lewycky authored
from r143097. llvm-svn: 143098
-
- Oct 25, 2011
-
-
Devang Patel authored
llvm-svn: 142873
-