Adds a very simple constant-propagation analysis for demo and testing purposes.
Also, fixes two (small) bugs in the testing framework code.
Differential D115740
[clang][dataflow] Add simplistic constant-propagation analysis. ymandel on Dec 14 2021, 9:20 AM. Authored by
Details Adds a very simple constant-propagation analysis for demo and testing purposes. Also, fixes two (small) bugs in the testing framework code.
Diff Detail
Unit Tests Event Timeline
Comment Actions This demo looks cool. While I know this is a demo, I think it misses some important features, namely invalidating the value when we take the address of a variable or pass it to a function by non-const reference.
|