[PATCH] D151183: [clang][dataflow] Add a `ControlFlowContext::build()` overload taking a `FunctionDecl`.
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 24 19:54:12 PDT 2023
xazax.hun accepted this revision.
xazax.hun added inline comments.
This revision is now accepted and ready to land.
Herald added a subscriber: rnkovacs.
================
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:39
+
/// Builds a ControlFlowContext from an AST node. `D` is the function in which
/// `S` resides. `D.isTemplated()` must be false.
----------------
I was wondering if there is a plan to make the framework work for non-functions, like global initializers.
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