aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-22 23:24:42 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-22 23:24:42 +0000
commit6016cb2d1e99960675e4c4bb97f6f4ecdff97818 (patch)
tree2a9ee35f9c6da4c5b1c53ff2a96d33c06807dcdd
parentba1e898c64048e25cb65afec3807ad463e41914b (diff)
Fix test breakage.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76816 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Sema/SemaExpr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index bb3f21a212..5d4fbd8080 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -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));
}