mboehme created this revision. Herald added subscribers: martong, xazax.hun. Herald added a project: All. mboehme requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Thanks to chapuni to pointing this out on https://reviews.llvm.org/D151183. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D151430 Files: clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp Index: clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp =================================================================== --- clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp +++ 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()));
Index: clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp =================================================================== --- clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp +++ 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()));
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits