Douglas Gregor
|
747eb7840a
|
Reinstate the fix for PR7556. A silly use of isTrivial() was
suppressing copies of objects with trivial copy constructors.
llvm-svn: 107857
|
2010-07-08 06:14:04 +00:00 |
Douglas Gregor
|
e182370eda
|
Revert r107828 and r107827, the fix for PR7556, which seems to be
breaking bootstrap on Linux.
llvm-svn: 107837
|
2010-07-07 23:37:33 +00:00 |
Douglas Gregor
|
6df2b8c3ac
|
Rename CXXZeroInitValueExpr to CXXScalarValueInitExpr, to reflect its
newly-narrowed scope. No functionality change.
llvm-svn: 107828
|
2010-07-07 22:43:56 +00:00 |
Chandler Carruth
|
8337ba6303
|
Prefer llvm_unreachable(...) to assert(false && ...). This is important as
without it we might exit a non-void function without returning.
llvm-svn: 107106
|
2010-06-29 00:23:11 +00:00 |
Sebastian Redl
|
f9463106b3
|
Introduce Expr::Classify and Expr::ClassifyModifiable, which determine the classification of an expression under the C++0x taxology (value category). Reimplement isLvalue and isModifiableLvalue using these functions. No regressions in the test suite from this, and my rough performance check doesn't show any regressions either.
llvm-svn: 107007
|
2010-06-28 15:09:07 +00:00 |