diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2018-03-19 17:18:13 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-03-19 17:18:13 +0000 |
| commit | 634b5baa4ebeff5aaf6a57dae850f3e3272188a3 (patch) | |
| tree | 85f7ab88c97b6e3fdc16440bcbab7181a303b26c /clang/lib | |
| parent | b7f3cba84cfb717e4a95f90c6d2a8ec4b20c1d3f (diff) | |
| download | bcm5719-llvm-634b5baa4ebeff5aaf6a57dae850f3e3272188a3.tar.gz bcm5719-llvm-634b5baa4ebeff5aaf6a57dae850f3e3272188a3.zip | |
[OPENMP] Fix build with MSVC, NFC.
llvm-svn: 327868
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp index c2b846e83a1..24a49275772 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp @@ -1419,8 +1419,8 @@ void CGOpenMPRuntimeNVPTX::emitGenericParallelCall( auto *ThreadID = getThreadID(CGF, Loc); llvm::Value *Args[] = {RTLoc, ThreadID}; - auto &&SeqGen = [this, Fn, CapturedVars, Args, Loc](CodeGenFunction &CGF, - PrePostActionTy &) { + auto &&SeqGen = [this, Fn, CapturedVars, &Args, Loc](CodeGenFunction &CGF, + PrePostActionTy &) { auto &&CodeGen = [this, Fn, CapturedVars, Loc](CodeGenFunction &CGF, PrePostActionTy &Action) { Action.Enter(CGF); |

