Skip to content

Commit 522cd23

Browse files
committed
Modified lambda definition to use "auto" instead of "auto &&".
1 parent fa311f8 commit 522cd23

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Sema/SemaOpenMP.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17332,9 +17332,8 @@ OMPClause *SemaOpenMP::ActOnOpenMPDefaultClause(
1733217332
if (IsTargetDefault && M == OMP_DEFAULT_shared)
1733317333
return nullptr;
1733417334

17335-
auto &&SetDefaultClauseAttrs = [&](llvm::omp::DefaultKind M,
17336-
OpenMPDefaultClauseVariableCategory
17337-
VCKind) {
17335+
auto SetDefaultClauseAttrs = [&](llvm::omp::DefaultKind M,
17336+
OpenMPDefaultClauseVariableCategory VCKind) {
1733817337
OpenMPDefaultmapClauseModifier DefMapMod;
1733917338
OpenMPDefaultmapClauseKind DefMapKind;
1734017339
// default data-sharing-attribute

0 commit comments

Comments
 (0)