[PATCH] D155075: [clang][dataflow] Add `DataflowEnvironment::createObject()`.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 11:47:43 PDT 2023


ymandel accepted this revision.
ymandel added a comment.
This revision is now accepted and ready to land.

Looks great!



================
Comment at: clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h:609
 
+  StorageLocation &createObjectInternal(const VarDecl *D, QualType Ty,
+                                        const Expr *InitExpr);
----------------
At least document the nullability of D and InitExpr?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155075



More information about the cfe-commits mailing list