Skip to content

Commit cd37594

Browse files
committed
Fix unused lambda capture warning, NFC
1 parent 69a8350 commit cd37594

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/CodeGen/CGOpenMPRuntime.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10358,9 +10358,8 @@ void CGOpenMPRuntime::emitTargetCall(
1035810358
llvm::Value *MapTypesArray = nullptr;
1035910359
llvm::Value *MapNamesArray = nullptr;
1036010360
// Generate code for the host fallback function.
10361-
auto &&FallbackGen = [this, OutlinedFn, OutlinedFnID, &D, &CapturedVars,
10362-
RequiresOuterTask, &CS,
10363-
OffloadingMandatory](CodeGenFunction &CGF) {
10361+
auto &&FallbackGen = [this, OutlinedFn, &D, &CapturedVars, RequiresOuterTask,
10362+
&CS, OffloadingMandatory](CodeGenFunction &CGF) {
1036410363
if (OffloadingMandatory) {
1036510364
CGF.Builder.CreateUnreachable();
1036610365
} else {

0 commit comments

Comments
 (0)