[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 05:59:01 PST 2023


================
@@ -492,6 +492,56 @@ transferCFGBlock(const CFGBlock &Block, AnalysisContext &AC,
   return State;
 }
 
+static Environment initializeEnvironment(const Environment &InitEnv) {
----------------
martinboehme wrote:

> Why not include this function as part of the Environment API?

Good point -- done. `initFIeldsGlobalsAndFuncs()` is now private again. All in all, this makes the API feel cleaner.

https://github.com/llvm/llvm-project/pull/73860


More information about the cfe-commits mailing list