]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76816 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExpr.cpp

index bb3f21a21266efc6c34c9a8930901d12f3ffeece..5d4fbd8080e5e5c4ac36a9fc0762564a21799ffb 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));
 }