diff --git a/clang/unittests/Analysis/FlowSensitive/TestingSupport.h b/clang/unittests/Analysis/FlowSensitive/TestingSupport.h --- a/clang/unittests/Analysis/FlowSensitive/TestingSupport.h +++ b/clang/unittests/Analysis/FlowSensitive/TestingSupport.h @@ -125,20 +125,6 @@ PostVisitCFG = std::move(Arg); return std::move(*this); } - - AnalysisInputs && - withPostVisitCFG(std::function - Arg) && { - PostVisitCFG = - [Arg = std::move(Arg)](ASTContext &Context, const CFGElement &Element, - const TransferStateForDiagnostics - &State) { - Arg(Context, Element, - TypeErasedDataflowAnalysisState({State.Lattice}, State.Env)); - }; - return std::move(*this); - } AnalysisInputs &&withASTBuildArgs(ArrayRef Arg) && { ASTBuildArgs = std::move(Arg); return std::move(*this);