[PATCH] D147326: [clang][dataflow][NFC] Share code between Environment ctor and pushCallInternal().

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 31 10:14:43 PDT 2023


ymandel accepted this revision.
ymandel added a comment.

Thank you!



================
Comment at: clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h:465
+  /// referenced in `FuncDecl`. `FuncDecl` must have a body.
+  void initVars(const FunctionDecl *FuncDecl);
 
----------------
xazax.hun wrote:
> I wonder if we should rename this to something like `initFieldAndGlobals`.
+1


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147326



More information about the cfe-commits mailing list