aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-19 04:13:11 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-19 04:13:11 +0000
commitb4685713856cab28aeeb4afd640a8bbfb662a8b8 (patch)
tree40b090636f6cc06188f9863ad5dec6f9acac017c /include/clang/Parse/Action.h
parente1718aff224e7da84720beb42a39362199ca83f3 (diff)
Add comment about FullExprArg.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h3
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)) {}