aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commitf045007f117f91656a5d16ae004cfc3934c61c70 (patch)
treebc9790a7b7b22b15957b1b048ff659ba96763f55 /clang/lib/CodeGen/CodeGenFunction.h
parentd8cf1a119d4c38e59ade90018a4df015dff63383 (diff)
downloadllvm-f045007f117f91656a5d16ae004cfc3934c61c70.zip
llvm-f045007f117f91656a5d16ae004cfc3934c61c70.tar.gz
llvm-f045007f117f91656a5d16ae004cfc3934c61c70.tar.bz2
Add support for complex compound assignments where the LHS is a scalar.
Fixes <rdar://problem/11224126> and PR12790. llvm-svn: 183821
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 81b5d05..080c471 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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);