| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -397/+0 | |
| 2020-08-17 | rust_ast::ast => rustc_ast | Ujjwal Sharma | -1/+1 | |
| 2020-08-15 | replaced log with tracing | Gurpreet Singh | -1/+1 | |
| 2020-08-08 | Eliminate the `SessionGlobals` from `librustc_ast`. | Nicholas Nethercote | -1/+1 | |
| By moving `{known,used}_attrs` from `SessionGlobals` to `Session`. This means they are accessed via the `Session`, rather than via TLS. A few `Attr` methods and `librustc_ast` functions are now methods of `Session`. All of this required passing a `Session` to lots of functions that didn't already have one. Some of these functions also had arguments removed, because those arguments could be accessed directly via the `Session` argument. `contains_feature_attr()` was dead, and is removed. Some functions were moved from `librustc_ast` elsewhere because they now need to access `Session`, which isn't available in that crate. - `entry_point_type()` --> `librustc_builtin_macros` - `global_allocator_spans()` --> `librustc_metadata` - `is_proc_macro_attr()` --> `Session` | ||||
| 2020-08-08 | Remove some unnecessary uses of `Option`. | Nicholas Nethercote | -1/+1 | |
| These arguments are never `None`. | ||||
| 2020-07-07 | Remove `Compiler::compile()`. | Nicholas Nethercote | -34/+0 | |
| It's unused. | ||||
| 2020-06-19 | Fix -Z unpretty=everybody_loops | Joshua Nelson | -0/+1 | |
| It turns out that this has not been working for who knows how long. Previously: ``` pub fn h() { 1 + 2; } ``` After this change: ``` pub fn h() { loop {} } ``` This only affected the pass when run with the command line pretty-printing option, so rustdoc was still replacing bodies with `loop {}`. | ||||
| 2020-05-22 | Use `OnceCell` instead of `Once` | Dylan MacKenzie | -3/+3 | |
| 2020-05-11 | Fix clippy warnings | Matthias Krüger | -1/+1 | |
| Fixes clippy::{cone_on_copy, filter_next, redundant_closure, single_char_pattern, len_zero,redundant_field_names, useless_format, identity_conversion, map_clone, into_iter_on_ref, needless_return, option_as_ref_deref, unused_unit, unnecessary_mut_passed} | ||||
| 2020-04-27 | Change return type of `entry_fn` query to return a `LocalDefId` | marmeladema | -1/+1 | |
| 2020-04-02 | use direct import for ErrorReported | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -5/+5 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -5/+5 | |
| 2020-03-21 | separate out an arena for HIR | Mazdak Farrokhzad | -2/+4 | |
| 2020-03-19 | Refactorings to begin getting rid of rustc_codegen_utils | Mark Mansi | -8/+52 | |
| 2020-03-16 | use direct imports for `rustc::{lint, session}`. | Mazdak Farrokhzad | -2/+2 | |
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -1/+1 | |
| 2020-02-19 | Split query stats into its own file | John Kåre Alsaker | -1/+1 | |
| 2020-02-06 | Remove the `Forest` type | John Kåre Alsaker | -9/+9 | |
| 2020-02-04 | Split `join_codegen_and_link()` into two steps | Victor Ding | -10/+13 | |
| `join_codegen_and_link()` is split to `join_codegen()` and `link()`. | ||||
| 2020-01-17 | Rollup merge of #67791 - Zoxc:lift-interning, r=eddyb | Dylan DPC | -4/+1 | |
| Implement Lift using interners instead of in_arena r? @eddyb cc @cjgillot | ||||
| 2020-01-11 | Use Arena for interning | John Kåre Alsaker | -4/+1 | |
| 2020-01-11 | move rustc::lint::{context, passes} to rustc_lint. | Mazdak Farrokhzad | -3/+2 | |
| Also do some cleanup of the interface. | ||||
| 2020-01-09 | Tweak timers | John Kåre Alsaker | -1/+0 | |
| 2020-01-09 | Label unmarked time | John Kåre Alsaker | -2/+13 | |
| 2020-01-09 | Change -Z time event naming scheme and make them generic activities | John Kåre Alsaker | -1/+1 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -4/+4 | |
| 2020-01-05 | Use self profile infrastructure for -Z time and -Z time-passes | John Kåre Alsaker | -2/+2 | |
| 2019-12-22 | Format the world | Mark Rousskov | -52/+50 | |
| 2019-12-21 | Use Arena inside hir::Crate. | Camille GILLOT | -3/+4 | |
| 2019-12-06 | Auto merge of #65195 - varkor:to_option, r=Centril | bors | -5/+3 | |
| Rename `bool::then_*` to `bool::to_option_*` and use where appropriate Name change following https://github.com/rust-lang/rfcs/pull/2757. Also try it out throughout the compiler in places I think makes the code more readable. | ||||
| 2019-12-06 | Rename to `then_some` and `then` | varkor | -1/+1 | |
| 2019-12-06 | Use `to_option` in various places | varkor | -5/+3 | |
| 2019-12-06 | Fix Query type docs | Ömer Sinan Ağacan | -2/+2 | |
| `give` no longer exists, `compute` is used to generate query results now. | ||||
| 2019-11-27 | Allocate HIR Forest on arena. | Camille GILLOT | -3/+1 | |
| 2019-11-27 | Misc renames. | Camille GILLOT | -3/+3 | |
| 2019-11-27 | Simplify handling of AllArenas. | Camille GILLOT | -3/+3 | |
| 2019-11-27 | Rename BoxedGlobalCtxt. | Camille GILLOT | -3/+3 | |
| 2019-11-27 | Rename lifetimes. | Camille GILLOT | -13/+13 | |
| 2019-11-26 | Move local Arena to Queries. | Camille GILLOT | -1/+6 | |
| 2019-11-26 | Have Queries own the GlobalCtxt. | Camille GILLOT | -18/+35 | |
| The construction of the GlobalCtxt is moved from a generator's stack to the Queries struct. Since the GlobalCtxt requires the HIR Forest and the arenas to live longer, those are moved into Queries the same way. The resulting handling of objects is more brittle, because consumers of the Once objects need to be careful of their initialisation. | ||||
| 2019-11-26 | Review nits. | Camille GILLOT | -4/+1 | |
| 2019-11-25 | Superfluous lifetime. | Camille GILLOT | -2/+2 | |
| 2019-11-25 | Pass Queries by reference. | Camille GILLOT | -5/+5 | |
| 2019-11-25 | Remove wrong comment. | Camille GILLOT | -5/+0 | |
| 2019-11-24 | Tidy. | Camille GILLOT | -1/+3 | |
| 2019-11-24 | Move linking ouside the interface queries. | Camille GILLOT | -20/+44 | |
| 2019-11-24 | Isolate compiler queries inside the Queries type. | Camille GILLOT | -41/+76 | |
| 2019-11-24 | rustc_plugin: Remove support for syntactic plugins | Vadim Petrochenkov | -5/+4 | |
| 2019-10-24 | rustc_interface: Remove `ExpansionResult` and some `Steal`s | Vadim Petrochenkov | -7/+10 | |
