diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-08-07 11:22:42 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-08-09 10:17:31 +0200 |
| commit | 4c2ff0ab1790208e5a81abdcebd29d9e7d5c2ccf (patch) | |
| tree | 95f43c73738533af476aef53870196b442248c2c /src/rustllvm/PassWrapper.cpp | |
| parent | 0ba2d042244ba321258deb016d6d6e3a28546e0e (diff) | |
| download | rust-4c2ff0ab1790208e5a81abdcebd29d9e7d5c2ccf.tar.gz rust-4c2ff0ab1790208e5a81abdcebd29d9e7d5c2ccf.zip | |
ast_map: Added iterator over all node id's that match a path suffix.
This is useful e.g. for tools need a node-id, such as the flowgraph pretty printer, since it can avoids the need to first pretty-print the whole expanded,identified input in order to find out what the node-id actually is. It currently only supports path suffixes thst are made up of module names (e.g. you cannot use the type instantiation form `a::<int>::b` or `option::Option::unwrap_or` as a path suffix for this tool, though the tool will produce paths that have non-modulues in the portion of the path that is not included in the suffix). (addressed review feedback too)
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
