[cfe-commits] r72098 - /cfe/trunk/include/clang/Parse/Action.h
Anders Carlsson
andersca at mac.com
Mon May 18 21:13:11 PDT 2009
Author: andersca
Date: Mon May 18 23:13:11 2009
New Revision: 72098
URL: http://llvm.org/viewvc/llvm-project?rev=72098&view=rev
Log:
Add comment about FullExprArg.
Modified:
cfe/trunk/include/clang/Parse/Action.h
Modified: cfe/trunk/include/clang/Parse/Action.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Action.h?rev=72098&r1=72097&r2=72098&view=diff
==============================================================================
--- cfe/trunk/include/clang/Parse/Action.h (original)
+++ cfe/trunk/include/clang/Parse/Action.h Mon May 18 23:13:11 2009
@@ -104,6 +104,9 @@
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)) {}
More information about the cfe-commits
mailing list