[PATCH] D151183: [clang][dataflow] Add a `ControlFlowContext::build()` overload taking a `FunctionDecl`.

Martin Böhme via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 25 05:10:36 PDT 2023


mboehme marked an inline comment as done.
mboehme added inline comments.


================
Comment at: clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp:71
-  auto CFCtx = llvm::cantFail(
-      ControlFlowContext::build(*Func, *Body, AST->getASTContext()));
 
----------------
chapuni wrote:
> This was the only user of Body in -Asserts
Thanks for pointing this out. Fixed in https://reviews.llvm.org/D151430.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151183/new/

https://reviews.llvm.org/D151183



More information about the cfe-commits mailing list