| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2019-10-24 | Turn crate store into a resolver output | Vadim Petrochenkov | -5/+4 | |
| 2019-10-24 | rustc: Combine resolver outputs into a single struct | Vadim Petrochenkov | -2/+1 | |
| 2019-10-24 | rustc_metadata: Remove unnecessary use of crate store in plugin loader | Vadim Petrochenkov | -1/+1 | |
| 2019-10-17 | Update API to be more compatible with plugin needs | Mark Rousskov | -0/+7 | |
| Move to using Box<dyn Fn() -> ...> so that we can let plugins register state. This also adds a callback that'll get called from plugin registration so that Clippy and other tools can register lints without using the plugin API. The plugin API still works, but this new API is more compatible with drivers other than rustc. | ||||
| 2019-10-17 | Create lint store during plugin registration | Mark Rousskov | -6/+15 | |
| Remove lint store from Session | ||||
| 2019-09-25 | Remove tx_to_llvm_workers from TyCtxt | Mark Rousskov | -15/+0 | |
| This can be kept within the codegen backend crates entirely | ||||
| 2019-09-19 | Add a comment to `Compiler::compile()`. | Nicholas Nethercote | -2/+7 | |
| `Compiler::compile()` is different to all the other `Compiler` methods because it lacks a `Queries` entry. It only has one call site, which is in a test that doesn't need its specific characteristics. This patch replaces that call with a call to `Compile::link()`, which is similar enough for the test's purposes. It also notes that the method is an illustrative example of how `Compiler` can be used. | ||||
| 2019-09-11 | Move call site of `dep_graph_future()`. | Nicholas Nethercote | -3/+11 | |
| `Compiler::register_plugins()` calls `passes::register_plugins()`, which calls `Compiler::dep_graph_future()`. This is the only way in which a `passes` function calls a `Compiler` function. This commit moves the `dep_graph_future()` call out of `passes::register_plugins()` and into `Compiler::register_plugins()`, which is a more sensible spot for it. This will delay the loading of the dep graph slightly -- from the middle of plugin registration to the end of plugin registration -- but plugin registration is fast enough (especially compared to expansion) that the impact should be neglible. | ||||
| 2019-09-02 | Remove `lower_to_hir()` call from `prepare_output()`. | Nicholas Nethercote | -1/+0 | |
| It's a false dependency. The result isn't used and there are no relevant side-effects. | ||||
| 2019-09-02 | Don't call `self.parse()` in `Compiler::crate_name()` unless necessary. | Nicholas Nethercote | -10/+11 | |
| 2019-08-10 | Remove Option from resolver | Mark Rousskov | -7/+7 | |
| 2019-07-28 | Remove lint annotations in specific crates that are already enforced by ↵ | Vadim Petrochenkov | -14/+2 | |
| rustbuild Remove some random unnecessary lint `allow`s | ||||
| 2019-07-23 | cleanup: Remove `extern crate serialize as rustc_serialize`s | Vadim Petrochenkov | -1/+1 | |
| 2019-03-27 | librustc_interface => 2018 | Mazdak Farrokhzad | -2/+3 | |
| 2019-03-10 | Make the rustc driver and interface demand driven | John Kåre Alsaker | -0/+302 | |
