]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #69644 - ecstatic-morse:unified-dataflow-cleanup, r=eddyb
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 27 Mar 2020 00:23:47 +0000 (01:23 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2020 00:23:47 +0000 (01:23 +0100)
commit0f6144a115b2535feb8a84914105a2896e7e8e92
tree749503dc9233a7d26dc5b9fb2bb7ba5710cffd87
parent62c6006450d8bd33a351673c1f969846d768aab4
parent89d6009461918a5939520fe5424ee499ed6d504d
Rollup merge of #69644 - ecstatic-morse:unified-dataflow-cleanup, r=eddyb

Remove framework in `dataflow/mod.rs` in favor of "generic" one

This is the culmination of the work described in rust-lang/compiler-team#202. All dataflow analyses (including the one in `clippy`) have been ported to use the framework in `dataflow/generic`, which can efficiently handle both gen/kill and generic problems. This PR moves the framework in `dataflow/generic` to `dataflow/framework`, and removes the gen/kill framework in `dataflow/mod.rs`.

More comprehensive documentation for the new framework is tracked in rust-lang/rustc-guide#564.

`clippy` will need to change the path it uses to import the dataflow analysis traits.