Previously, we were including these fields only in the specific instance that was initialized by the InitListExpr, but not in other instances of the same type. This is inconsistent and error-prone.
Depends On D154952
Paths
| Differential D154961
[clang][dataflow] Include fields initialized in an `InitListExpr` in `getModeledFields()`. ClosedPublic Authored by mboehme on Jul 11 2023, 6:30 AM.
Details Summary Previously, we were including these fields only in the specific instance that was initialized by the InitListExpr, but not in other instances of the same type. This is inconsistent and error-prone. Depends On D154952
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 11 2023, 6:47 AM This revision was landed with ongoing or failed builds.Jul 11 2023, 9:53 PM Closed by commit rGb47bdcbc7207: [clang][dataflow] Include fields initialized in an `InitListExpr` in… (authored by mboehme). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 539371 clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
clang/lib/Analysis/FlowSensitive/Transfer.cpp
clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
|