diff options
author | Chih-hung Hsieh <chh@google.com> | 2018-11-14 16:29:27 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-14 16:29:27 +0000 |
commit | 32290d3463d1ca9037fc8a1f3aa15129c46f3567 (patch) | |
tree | cf9a61f962f9b7f94d2deabc4fa696a0b40d2d65 | |
parent | dc5ce476fd90fc206906e252eae58602c2805b21 (diff) | |
parent | e83d122e4a324b4a6367e63654e36836bdc21ac9 (diff) | |
download | clang-32290d3463d1ca9037fc8a1f3aa15129c46f3567.tar.gz |
Merge "Fix new compiler errors."android-wear-8.0.0_r2android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10android-n-iot-release-ihome-igv1oreo-mr1-iot-releasenougat-iot-release
-rw-r--r-- | lib/CodeGen/CGOpenMPRuntime.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp index 6a0edbe0e7..512abab0ee 100644 --- a/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/lib/CodeGen/CGOpenMPRuntime.cpp @@ -6073,7 +6073,7 @@ void CGOpenMPRuntime::emitTargetDataCalls(CodeGenFunction &CGF, // Generate the code for the opening of the data environment. Capture all the // arguments of the runtime call by reference because they are used in the // closing of the region. - auto &&BeginThenGen = [&D, &CGF, &BasePointersArray, &PointersArray, + auto &&BeginThenGen = [this, &D, &BasePointersArray, &PointersArray, &SizesArray, &MapTypesArray, Device, &NumOfPtrs](CodeGenFunction &CGF, PrePostActionTy &) { // Fill up the arrays with all the mapped variables. @@ -6121,7 +6121,7 @@ void CGOpenMPRuntime::emitTargetDataCalls(CodeGenFunction &CGF, }; // Generate code for the closing of the data region. - auto &&EndThenGen = [&CGF, &BasePointersArray, &PointersArray, &SizesArray, + auto &&EndThenGen = [this, &BasePointersArray, &PointersArray, &SizesArray, &MapTypesArray, Device, &NumOfPtrs](CodeGenFunction &CGF, PrePostActionTy &) { assert(BasePointersArray && PointersArray && SizesArray && MapTypesArray && @@ -6188,7 +6188,7 @@ void CGOpenMPRuntime::emitTargetDataStandAloneCall( "Expecting either target enter, exit data, or update directives."); // Generate the code for the opening of the data environment. - auto &&ThenGen = [&D, &CGF, Device](CodeGenFunction &CGF, PrePostActionTy &) { + auto &&ThenGen = [this, &D, Device](CodeGenFunction &CGF, PrePostActionTy &) { // Fill up the arrays with all the mapped variables. MappableExprsHandler::MapValuesArrayTy BasePointers; MappableExprsHandler::MapValuesArrayTy Pointers; |