summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-06-16 18:39:34 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-06-16 18:39:34 +0000
commit6d0042642a5baa58032502458bdcf8cd14e83e88 (patch)
treec4090b3a3699b042d318da3e476a87a2666786ac /clang/lib/CodeGen/CodeGenFunction.h
parent74c4341dde8ac1c537b0950521953373cf3a506f (diff)
downloadbcm5719-llvm-6d0042642a5baa58032502458bdcf8cd14e83e88.tar.gz
bcm5719-llvm-6d0042642a5baa58032502458bdcf8cd14e83e88.zip
Re-apply r272900 - [OpenMP] Cast captures by copy when passed to fork call so that they are compatible to what the runtime library expects.
An issue in one of the regression tests was fixed for 32-bit hosts. llvm-svn: 272931
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 478093aa0aa..b96e6bad8a1 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2230,8 +2230,7 @@ public:
llvm::Function *EmitCapturedStmt(const CapturedStmt &S, CapturedRegionKind K);
llvm::Function *GenerateCapturedStmtFunction(const CapturedStmt &S);
Address GenerateCapturedStmtArgument(const CapturedStmt &S);
- llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S,
- bool CastValToPtr = false);
+ llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S);
void GenerateOpenMPCapturedVars(const CapturedStmt &S,
SmallVectorImpl<llvm::Value *> &CapturedVars);
void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
OpenPOWER on IntegriCloud