[clang] cd37594 - Fix unused lambda capture warning, NFC
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 23 14:01:39 PST 2022
Author: Reid Kleckner
Date: 2022-02-23T14:01:01-08:00
New Revision: cd37594c0374f287318d47818cc6d55496d3e9c0
URL: https://github.com/llvm/llvm-project/commit/cd37594c0374f287318d47818cc6d55496d3e9c0
DIFF: https://github.com/llvm/llvm-project/commit/cd37594c0374f287318d47818cc6d55496d3e9c0.diff
LOG: Fix unused lambda capture warning, NFC
Added:
Modified:
clang/lib/CodeGen/CGOpenMPRuntime.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
index b57495b042d2a..b4033da890c4c 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -10358,9 +10358,8 @@ void CGOpenMPRuntime::emitTargetCall(
llvm::Value *MapTypesArray = nullptr;
llvm::Value *MapNamesArray = nullptr;
// Generate code for the host fallback function.
- auto &&FallbackGen = [this, OutlinedFn, OutlinedFnID, &D, &CapturedVars,
- RequiresOuterTask, &CS,
- OffloadingMandatory](CodeGenFunction &CGF) {
+ auto &&FallbackGen = [this, OutlinedFn, &D, &CapturedVars, RequiresOuterTask,
+ &CS, OffloadingMandatory](CodeGenFunction &CGF) {
if (OffloadingMandatory) {
CGF.Builder.CreateUnreachable();
} else {
More information about the cfe-commits
mailing list