summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-06-12 01:40:06 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-06-12 01:40:06 +0000
commit0934e18b620ecaa6c7ec18ba5c4286b6122d6fb8 (patch)
treea1f15ff9df212287a84f31b2b9afe480c69af744 /lib/CodeGen/CodeGenFunction.h
parent7a1b586a383622e3287a5f3d82736ec513032744 (diff)
downloadclang-0934e18b620ecaa6c7ec18ba5c4286b6122d6fb8.tar.gz
clang-0934e18b620ecaa6c7ec18ba5c4286b6122d6fb8.tar.bz2
clang-0934e18b620ecaa6c7ec18ba5c4286b6122d6fb8.tar.xz
Add support for complex compound assignments where the LHS is a scalar.
Fixes <rdar://problem/11224126> and PR12790. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 81b5d05cf6..080c471d59 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -1928,6 +1928,8 @@ public:
/// Emit an l-value for an assignment (simple or compound) of complex type.
LValue EmitComplexAssignmentLValue(const BinaryOperator *E);
LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
+ LValue EmitScalarCompooundAssignWithComplex(const CompoundAssignOperator *E,
+ llvm::Value *&Result);
// Note: only available for agg return types
LValue EmitBinaryOperatorLValue(const BinaryOperator *E);