Besides being a useful abstraction, this function will help insulate existing clients of the framework from upcoming changes to the API of StructValue and AggregateStorageLocation.
Depends On D155202
Differential D155204
[clang][dataflow] Add `refreshStructValue()`. mboehme on Jul 13 2023, 7:24 AM. Authored by
Details Besides being a useful abstraction, this function will help insulate existing clients of the framework from upcoming changes to the API of StructValue and AggregateStorageLocation. Depends On D155202
Diff Detail
Event Timeline
|
I think this is fine for now, but I wonder if we should come up with an API where errors like this cannot happen. One potential way would be to no longer include these properties in the StructValues, but have a separate mapping StructValue => Properties. So, one can update the mapping in an environment without any unintended consequences in other environments.