aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-05-15 08:36:34 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-05-15 08:36:34 +0000
commitf0ab553fea2e01effa387ead1ae71e774f0793ab (patch)
tree499b32c00b984c12728bfd929499b30333dc3270 /clang/lib/CodeGen/CodeGenFunction.h
parentcdad63b33dc296806a243fdb4264392c692d90d2 (diff)
downloadllvm-f0ab553fea2e01effa387ead1ae71e774f0793ab.zip
llvm-f0ab553fea2e01effa387ead1ae71e774f0793ab.tar.gz
llvm-f0ab553fea2e01effa387ead1ae71e774f0793ab.tar.bz2
[OPENMP] Fixed bug in atomic update/capture/write constructs.
Fixed a bug with codegen for destination atomic l-value with padding and junk in this padding bytes. llvm-svn: 237422
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 2b10cc8..be134bc 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2272,7 +2272,7 @@ public:
bool IsWeak = false, AggValueSlot Slot = AggValueSlot::ignored());
void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
- const std::function<RValue(RValue)> &UpdateOp,
+ const llvm::function_ref<RValue(RValue)> &UpdateOp,
bool IsVolatile);
/// EmitToMemory - Change a scalar value from its value