diff options
-rw-r--r-- | include/clang/Parse/Action.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 4d188b53fc..95ecbecba0 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -104,6 +104,9 @@ public: class FullExprArg { public: + // 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) : Expr(move(const_cast<FullExprArg&>(Other).Expr)) {} |