Fix test breakage.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76816 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index bb3f21a..5d4fbd8 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -1703,6 +1703,8 @@
     // build a built-in operation.
   }
 
+  Input.release();
+  Input = Arg;
   return CreateBuiltinUnaryOp(OpLoc, Opc, move(Input));
 }