summary refs log tree commit diff
path: root/src/librustc_front/lib.rs
AgeCommit message (Collapse)AuthorLines
2016-01-24mk: Move from `-D warnings` to `#![deny(warnings)]`Alex Crichton-2/+3
This commit removes the `-D warnings` flag being passed through the makefiles to all crates to instead be a crate attribute. We want these attributes always applied for all our standard builds, and this is more amenable to Cargo-based builds as well. Note that all `deny(warnings)` attributes are gated with a `cfg(stage0)` attribute currently to match the same semantics we have today
2015-12-21Register new snapshotsAlex Crichton-3/+0
Lots of cruft to remove!
2015-12-18Abstract away differences between Vec and ptr::P in HIRVadim Petrochenkov-0/+1
2015-11-26Some TLC for the MoveMap traitMarvin Löbel-1/+0
2015-11-25Remove all uses of `#[staged_api]`Vadim Petrochenkov-1/+1
2015-11-18Remove rustc_data_structures from the deps of librustc_front nowNiko Matsakis-1/+0
that we no longer use FnvHashMap
2015-11-18Refactor the HIR so that items are stored in a map in the `Crate`,Niko Matsakis-1/+2
rather being stored inline. Refactor (and rename) the visitor so that (by default) it only visits the interior content of an item not nested items. This is a [breaking-change] for anyone who uses the HIR visitor. Besides changing `visit::` to `intravisit::`, you need to refactor your visitor in one of two ways, depending on what it requires: 1. If you just want to visit all items (most common), you should call `krate.visit_all_items(&mut visitor)`. 2. If you need to visit nested items in the middle of the parent items, you should override `visit_nested_item` with something like: `self.visit_item(self.tcx.map.expect_item(item.id))`, presuming you have access to a tcx (or at least a HIR map).
2015-10-06rustfmt librustc_frontNick Cameron-3/+7
2015-09-26Remove unnecessary `#![feature]` attributesAndrew Paseltiner-1/+0
2015-09-16Use ast attributes every where (remove HIR attributes).Nick Cameron-2/+0
This could be a [breaking-change] if your lint or syntax extension (is that even possible?) uses HIR attributes or literals.
2015-09-03Add an intital HIR and lowering stepNick Cameron-0/+58