diff --git a/clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp b/clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp --- a/clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp +++ b/clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp @@ -64,9 +64,6 @@ AST->getASTContext())); assert(Func != nullptr); - Stmt *Body = Func->getBody(); - assert(Body != nullptr); - auto CFCtx = llvm::cantFail(ControlFlowContext::build(*Func, AST->getASTContext()));