Make FullExprArg trivially copyable by removing the copy ctor

The default copy ctor is good.  This avoids using inalloca for a bunch
of Sema methods when self-hosting.

llvm-svn: 215047
This commit is contained in:
Reid Kleckner 2014-08-07 01:00:42 +00:00
parent 3be1cb294f
commit f650c0afd4
1 changed files with 0 additions and 5 deletions

View File

@ -2946,11 +2946,6 @@ public:
public:
FullExprArg(Sema &actions) : E(nullptr) { }
// FIXME: The const_cast here is ugly. RValue references would make this
// much nicer (or we could duplicate a bunch of the move semantics
// emulation code from Ownership.h).
FullExprArg(const FullExprArg& Other) : E(Other.E) {}
ExprResult release() {
return E;
}