about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-05-21 14:49:16 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-06-18 16:38:23 +0200
commit75340f41763c4166172af24c8db676c1da97910d (patch)
tree3e3a312f6ae26227b4f66becba49e723911a9517 /src/rustllvm/RustWrapper.cpp
parentfef63e2f237ea016b367c97dca50f35ab68c5164 (diff)
downloadrust-75340f41763c4166172af24c8db676c1da97910d.tar.gz
rust-75340f41763c4166172af24c8db676c1da97910d.zip
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.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions