Recognize C++0x rvalue references.

This commit is contained in:
Roberto Raggi
2010-03-23 12:11:33 +01:00
parent 21c13328d3
commit 4b8d597196
13 changed files with 46 additions and 20 deletions

View File

@@ -1032,7 +1032,7 @@ PointerAST *PointerAST::clone(MemoryPool *pool) const
ReferenceAST *ReferenceAST::clone(MemoryPool *pool) const
{
ReferenceAST *ast = new (pool) ReferenceAST;
ast->amp_token = amp_token;
ast->reference_token = reference_token;
return ast;
}