[llvm] 98742e4 - [NewPM] Fix unused lambda capture build error
Yevgeny Rouban via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 5 23:16:50 PDT 2021
Author: Yevgeny Rouban
Date: 2021-04-06T13:14:16+07:00
New Revision: 98742e42fc50f58d3f2d3f2cdbbf540288c134b9
URL: https://github.com/llvm/llvm-project/commit/98742e42fc50f58d3f2d3f2cdbbf540288c134b9
DIFF: https://github.com/llvm/llvm-project/commit/98742e42fc50f58d3f2d3f2cdbbf540288c134b9.diff
LOG: [NewPM] Fix unused lambda capture build error
Fixes commit 39e3e3aa51d: Redesign of PreserveCFG Checker
Added:
Modified:
llvm/lib/Passes/StandardInstrumentations.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp
index bd1db0c00394..b23150f9ccc0 100644
--- a/llvm/lib/Passes/StandardInstrumentations.cpp
+++ b/llvm/lib/Passes/StandardInstrumentations.cpp
@@ -1070,7 +1070,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
};
PIC.registerBeforeNonSkippedPassCallback(
- [this, &FAM, checkCFG](StringRef P, Any IR) {
+ [this, &FAM](StringRef P, Any IR) {
assert(&PassStack.emplace_back(P));
if (!any_isa<const Function *>(IR))
return;
More information about the llvm-commits
mailing list