Fix test breakage.
authorEli Friedman <eli.friedman@gmail.com>
Wed, 22 Jul 2009 23:24:42 +0000 (23:24 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 22 Jul 2009 23:24:42 +0000 (23:24 +0000)
llvm-svn: 76816

clang/lib/Sema/SemaExpr.cpp

index bb3f21a..5d4fbd8 100644 (file)
@@ -1703,6 +1703,8 @@ Sema::ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc,
     // build a built-in operation.
   }
 
+  Input.release();
+  Input = Arg;
   return CreateBuiltinUnaryOp(OpLoc, Opc, move(Input));
 }