The default copy ctor is good. This avoids using inalloca for a bunch
of Sema methods when self-hosting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215047
91177308-0d34-0410-b5e6-
96231b3b80d8
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;
}