about summary refs log tree commit diff
path: root/src/librustc/dep_graph/dep_node.rs
AgeCommit message (Collapse)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-413/+0
2020-03-25Rollup merge of #70319 - lcnr:issue63695, r=eddybDylan DPC-1/+1
correctly normalize constants closes #70317 implements https://github.com/rust-lang/rust/issues/70125#issuecomment-602133708 r? eddyb cc @varkor
2020-03-24normalize some imports, prefer direct ones.Mazdak Farrokhzad-2/+2
2020-03-23Put extract_def_id back on DepNode.Camille GILLOT-3/+24
2020-03-23Fallout in other crates.Camille GILLOT-152/+35
2020-03-23query normalize_generic_arg_after_erasing_regionsBastian Kauschke-1/+1
2020-03-23Split long derive lists into two derive attributes.Ana-Maria Mihalache-13/+2
2020-03-19rustc: use LocalDefId instead of DefIndex in HirId.Eduard-Mihai Burtescu-1/+1
2020-03-19rustc: rename DefId::to_local to expect_local and use it instead of ↵Eduard-Mihai Burtescu-1/+1
LocalDefId::from_def_id.
2020-03-19rustc: use LocalDefId instead of DefIndex for query keys.Eduard-Mihai Burtescu-5/+5
2020-03-14Remove `Hir` and `HirBody` dep nodesJohn Kåre Alsaker-7/+0
2020-03-14Remove `AllLocalTraitImpls`John Kåre Alsaker-3/+1
2020-03-14Update `visit_item_likes_in_module`John Kåre Alsaker-9/+3
2020-03-12remove lifetimes that can be elided (clippy::needless_lifetimes)Matthias Krüger-1/+1
2020-03-10Auto merge of #66364 - Centril:cleanup-macro-def, r=petrochenkov,eddybbors-0/+2
Cleanup `rmeta::MacroDef` Avoid using rountrip parsing in the encoder and in `fn load_macro_untracked`. The main reason I was interested in this was to remove `rustc_parse` as a dependency of `rustc_metadata` but it seems like this had other benefits as well. Fixes #49511. r? @eddyb cc @matthewjasper @estebank @petrochenkov
2020-03-10Store `TokenStream` in `rmeta::MacroDef`.Mazdak Farrokhzad-0/+2
This removes a hack from `load_macro_untracked` in which parsing is used.
2020-03-09Add a comment to `recover`.John Kåre Alsaker-0/+6
2020-03-09Remove the need for `no_force`John Kåre Alsaker-23/+19
2020-03-09Move `analysis` to the query macroJohn Kåre Alsaker-2/+0
2020-02-19Use a constructor function per dep node instead of an enum and a single functionJohn Kåre Alsaker-50/+36
2020-02-19Remove support for dep node structsJohn Kåre Alsaker-41/+0
2020-02-19Add a `storage` query modifier to override the query cacheJohn Kåre Alsaker-6/+6
2020-02-06Move the `krate` method to Hir and remove the Krate dep nodeJohn Kåre Alsaker-14/+1
2020-01-14perf: eagerly convert literals to consts, this avoids creating loads on ↵Ben Lewis-1/+1
unevaluated consts which requires a lot of unnecessary work to evaluate them further down the line.
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-4/+4
2020-01-04remove DefId::to_dep_node (dead code)Mazdak Farrokhzad-6/+0
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-36/+42
2019-11-19More HashStable.Camille GILLOT-5/+1
2019-11-02Convert `x.as_str().to_string()` to `x.to_string()` where possible.Nicholas Nethercote-1/+1
2019-10-21Use `Symbol` for codegen unit names.Nicholas Nethercote-2/+2
This is a straightforward replacement except for two places where we have to convert to `LocalInternedString` to get a stable sort.
2019-10-02Remove inline annotations from dep_nodeMark Rousskov-22/+18
2019-06-25Inform the query system about properties of queries at compile timeJohn Kåre Alsaker-4/+0
2019-06-18rustc: remove unused lifetimes.Eduard-Mihai Burtescu-1/+1
2019-06-18rustc: remove leftover lifetimes with no bounds from where clauses.Eduard-Mihai Burtescu-2/+0
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-2/+2
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-29/+29
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-1/+2
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-20/+20
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-21/+21
2019-06-02query-ify const_fieldMark Mansi-0/+1
2019-03-30Move query definitions over to the proc macroJohn Kåre Alsaker-202/+9
2019-03-29rustc(codegen): uncache `def_symbol_name` prefix from `symbol_name`.Eduard-Mihai Burtescu-2/+1
2019-03-28Rollup merge of #59091 - Zoxc:eval_always, r=michaelwoeristerMazdak Farrokhzad-48/+30
Combine input and eval_always query types Hardcoding `Krate` as a dependency of `eval_always` queries doesn't really make sense if we want to use the query system before HIR lowering / hashing. Without that hardcoding they become pretty much identical to `input` queries, so I combined them to a single type. This will regress the `clean` incremental scenario, but that isn't terribly common. r? @michaelwoerister
2019-03-27Rollup merge of #57293 - Zoxc:incr-passes3, r=michaelwoeristerJosh Stone-0/+1
Make some lints incremental Blocked on https://github.com/rust-lang/rust/pull/57253 r? @michaelwoerister
2019-03-26Make crate_variances a regular queryJohn Kåre Alsaker-1/+1
2019-03-26Combine input and eval_always query typesJohn Kåre Alsaker-47/+29
2019-03-25Make some lints incrementalJohn Kåre Alsaker-0/+1
2019-03-20Add eval_always to query macro and move a query overJohn Kåre Alsaker-1/+0
2019-03-20Add anon to query macro and move a query overJohn Kåre Alsaker-8/+0