To keep API of transfer functions consistent.
The single use of this transfer function in ChromiumCheckModel is also updated.
Paths
| Differential D133933
[clang][dataflow] Modify `transfer` in `DataflowModel` to take `CFGElement` as input instead of `Stmt`. ClosedPublic Authored by wyt on Sep 15 2022, 3:44 AM.
Details Summary To keep API of transfer functions consistent. The single use of this transfer function in ChromiumCheckModel is also updated.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 15 2022, 4:01 AM This revision was landed with ongoing or failed builds.Sep 19 2022, 11:40 AM Closed by commit rG41d52c5a7f7a: [clang][dataflow] Modify `transfer` in `DataflowModel` to take `CFGElement` as… (authored by wyt). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 461287 clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
clang/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h
clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
clang/unittests/Analysis/FlowSensitive/ChromiumCheckModelTest.cpp
|
In DataflowAnalysis we use the name Element. Can we use the same here too?