about summary refs log tree commit diff
path: root/src/librustc_driver/test.rs
AgeCommit message (Collapse)AuthorLines
2019-03-16Remove rustc_driver testsbjorn3-614/+0
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-99/+43
2019-03-07Fix with_emitter callersEsteban Küber-1/+1
2019-03-02driver: fix testljedrz-4/+4
2019-02-28Introduce rustc_interface and move some methods thereJohn Kåre Alsaker-1/+10
2019-02-10rustc: doc commentsAlexander Regueiro-5/+5
2019-01-13Always calculate glob map but only for glob usesIgor Matuszewski-2/+0
Previously calculating glob map was *opt-in*, however it did record node id -> ident use for every use directive. This aims to see if we can unconditionally calculate the glob map and not regress performance.
2019-01-02remove outdated `rustc_driver` testsNiko Matsakis-51/+0
they are subsumed by `hr-subtype/hr-subtype.rs` and other tests
2018-12-26Store `Ident` rather than just `Name` in HIR types `Item` and `ForeignItem`.Alexander Regueiro-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-13Make the 'a lifetime on TyCtxt uselessJohn Kåre Alsaker-2/+2
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-19/+18
2018-12-07Auto merge of #56502 - Zoxc:hir-func, r=eddybbors-5/+5
Use a function to access the Hir map to be able to turn it into a query later r? @eddyb
2018-12-06FixJohn Kåre Alsaker-1/+1
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-5/+5
2018-12-04updates all Filename variants to take a fingerprintMatthew Russo-1/+1
2018-11-12Fix fallout it rustc_driver testsOliver Scherer-5/+5
2018-11-03Shift both late bound regions and bound typesscalexm-6/+6
2018-09-26rustc_driver/test.rs: rustfmtNiko Matsakis-163/+219
2018-09-26fix rustc_driver testsNiko Matsakis-2/+2
2018-09-15Fix missing struct nameMarshall Bowers-1/+1
2018-09-15Make rustc::middle::region::Scope's fields publicMarshall Bowers-3/+9
2018-09-11Revert "renamed t_nil to t_unit"kenta7777-9/+9
This reverts commit 69deed9dc17cfd1c3e02d9e662ebc164885321a6.
2018-09-10renamed t_nil to t_unitkenta7777-9/+9
2018-09-10renamed mk_nil to mk_unitkenta7777-1/+1
2018-09-07switch to using `NonZeroU32` to represent indicesNiko Matsakis-9/+14
2018-08-19mv codemap() source_map()Donato Sciarra-1/+1
2018-08-19mv (mod) codemap source_mapDonato Sciarra-1/+1
2018-08-19mv CodeMap SourceMapDonato Sciarra-2/+2
2018-08-04Move basic_options to impl of DefaultMark Rousskov-1/+1
2018-07-17Auto merge of #52285 - ljedrz:dyn_librustc_driver, r=nikomatsakisbors-4/+4
Deny bare trait objects in librustc_driver Enforce `#![deny(bare_trait_objects)]` in `src/librustc_driver`.
2018-07-16ItemKindcsmoe-18/+18
2018-07-12Deny bare trait objects in librustc_driverljedrz-4/+4
2018-06-18Auto merge of #51248 - fabric-and-ink:newtype_index_debrujin, r=nikomatsakisbors-1/+1
Declare DebruijnIndex via newtype_index macro Part of #49887 Declare `DebruijnIndex` via the `newtype_index` macro.
2018-06-18Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelixbors-0/+1
Add existential type definitions Note: this does not allow creating named existential types, it just desugars `impl Trait` to a less (but still very) hacky version of actual `existential type` items. r? @nikomatsakis
2018-06-15Fix compile errorFabian Drinck-1/+1
2018-06-14Circumvent const fn problemFabian Drinck-1/+1
2018-06-14Fix compile errorFabian Drinck-1/+1
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-3/+3
2018-06-11Update testsOliver Schneider-0/+1
2018-06-06Use scope tree depths to speed up `nearest_common_ancestor`.Nicholas Nethercote-3/+4
This patch adds depth markings to all entries in the `ScopeTree`'s `parent_map`. This change increases memory usage somewhat, but permits a much faster algorithm to be used: - If one scope has a greater depth than the other, the deeper scope is moved upward until they are at equal depths. - Then we move the two scopes upward in lockstep until they match. This avoids the need to keep track of which scopes have already been seen, which was the major part of the cost of the old algorithm. It also reduces the number of child-to-parent moves (which are hash table lookups) when the scopes start at different levels, because it never goes past the nearest common ancestor the way the old algorithm did. Finally, the case where one of the scopes is the root is now handled in advance, because that is moderately common and lets us skip everything. This change speeds up runs of several rust-perf benchmarks, the best by 6%.
2018-05-28stop invoking `DebruijnIndex::new` directlyNiko Matsakis-7/+10
Co-authored-by: csmoe <35686186+csmoe@users.noreply.github.com>
2018-05-17Rename trans to codegen everywhere.Irina Popa-1/+1
2018-05-15Pull common parameters into GenericParamDefvarkor-1/+1
This leads to a lot of simplifications, as most code doesn't actually need to know about the specific lifetime/type data; rather, it's concerned with properties like name, index and def_id.
2018-05-13Add a Rayon thread poolJohn Kåre Alsaker-8/+13
2018-04-27Rename InternedString to LocalInternedString and introduce a new thread-safe ↵John Kåre Alsaker-2/+2
InternedString
2018-04-26rustc_target: move in syntax::abi and flip dependency.Irina Popa-1/+1
2018-04-24Make Binder's field private and clean up its usageTyler Mandry-1/+1
2018-04-17Make Handler more thread-safeJohn Kåre Alsaker-5/+5
2018-04-13Use InternedString rather than Name for RegionParameterDefvarkor-1/+1
This makes it consistent with TypeParameterDef.