about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-09 09:51:23 +0000
committerbors <bors@rust-lang.org>2014-08-09 09:51:23 +0000
commit87134c7d72d0a39f696051a22c05aa2b328a6d00 (patch)
tree64c50551faef0e4df76fd4b0c0e5ceba788851e3 /src/rustllvm/PassWrapper.cpp
parenta23d6795a50cf0b51d61d2b9d6d79127876796c1 (diff)
parentdb0e71f10a157c211863ac844ceb0572967df298 (diff)
downloadrust-87134c7d72d0a39f696051a22c05aa2b328a6d00.tar.gz
rust-87134c7d72d0a39f696051a22c05aa2b328a6d00.zip
auto merge of #16326 : pnkfelix/rust/fsk-add-path-suffix-lookup, r=huonw
Extended `ast_map::Map` with an iterator over all node id's that match a path suffix.

Extended pretty printer to let users choose particular items to pretty print, either by indicating an integer node-id, or by providing a path suffix.

 * Example 1: the suffix `typeck::check::check_struct` matches the item with the path `rustc::middle::typeck::check::check_struct` when compiling the `rustc` crate.

 * Example 2: the suffix `and` matches `core::option::Option::and` and `core::result::Result::and` when compiling the `core` crate.

Refactored `pprust` slightly to support the pretty printer changes.

(See individual commits for more description.)
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions