rust/src/librustc/middle
Felix S. Klock II 75340f4176 Revise dataflow to do a cfg-driven walk.
Fix #6298.

This is instead of the prior approach of emulating cfg traversal
privately by traversing AST in same way).

Of special note, this removes a special case handling of `ExprParen`
that was actually injecting a bug (since it was acting like an
expression like `(*func)()` was consuming `*func` *twice*: once from
`(*func)` and again from `*func`).  nikomatsakis was the first one to
point out that it might suffice to simply have the outer `ExprParen`
do the consumption of the contents (alone).

(This version has been updated to incorporate feedback from Niko's
review of PR 14873.)
2014-06-18 16:38:23 +02:00
..
borrowck Revise dataflow to do a cfg-driven walk. 2014-06-18 16:38:23 +02:00
cfg Bug fixes for flowgraph construction. 2014-06-18 16:36:25 +02:00
save rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
trans auto merge of #14994 : nick29581/rust/comments, r=bstrie 2014-06-18 08:56:43 +00:00
typeck auto merge of #14880 : SimonSapin/rust/byte-literals, r=alexcrichton 2014-06-18 02:06:37 +00:00
astencode.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
check_const.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
check_loop.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
check_match.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
check_static.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
const_eval.rs Add a b"xx" byte string literal of type &'static [u8]. 2014-06-17 23:43:18 +02:00
dataflow.rs Revise dataflow to do a cfg-driven walk. 2014-06-18 16:38:23 +02:00
dead.rs rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
def.rs Introduce VecPerParamSpace and use it to represent sets of types and 2014-06-13 13:20:24 -04:00
dependency_format.rs Fallout from the libcollections movement 2014-06-05 13:55:11 -07:00
effect.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
entry.rs Rename Iterator::len to count 2014-06-06 19:51:31 -07:00
expr_use_visitor.rs Revise dataflow to do a cfg-driven walk. 2014-06-18 16:38:23 +02:00
freevars.rs Move Def out of syntax crate, where it does not belong 2014-06-06 19:51:23 -04:00
graph.rs Revise dataflow to do a cfg-driven walk. 2014-06-18 16:38:23 +02:00
intrinsicck.rs librustc: Forbid transmute from being called on types whose size is 2014-06-13 13:53:55 -07:00
kind.rs Remove TraitStore from ty_trait 2014-06-18 10:30:33 +12:00
lang_items.rs librustc: Implement overloading for the call operator behind a feature 2014-06-09 12:39:17 -07:00
lint.rs auto merge of #14880 : SimonSapin/rust/byte-literals, r=alexcrichton 2014-06-18 02:06:37 +00:00
liveness.rs Fix all violations of stronger guarantees for mutable borrows 2014-06-13 20:48:09 -07:00
mem_categorization.rs Remove TraitStore from ty_trait 2014-06-18 10:30:33 +12:00
pat_util.rs Move Def out of syntax crate, where it does not belong 2014-06-06 19:51:23 -04:00
privacy.rs rustc: Don't mark type parameters as exported 2014-06-16 18:16:28 -07:00
reachable.rs librustc: Make addresses of immutable statics insignificant unless 2014-06-17 11:44:00 -07:00
region.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
resolve_lifetime.rs librustc: Fix the issue with labels shadowing variable names by making 2014-06-13 13:53:34 -07:00
resolve.rs rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
subst.rs Introduce VecPerParamSpace and use it to represent sets of types and 2014-06-13 13:20:24 -04:00
ty_fold.rs Remove TraitStore from ty_trait 2014-06-18 10:30:33 +12:00
ty.rs Remove TraitStore from ty_trait 2014-06-18 10:30:33 +12:00
weak_lang_items.rs Fallout from the libcollections movement 2014-06-05 13:55:11 -07:00