about summary refs log tree commit diff
path: root/src/librustc/ty/query/on_disk_cache.rs
AgeCommit message (Collapse)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-1024/+0
2020-03-26Make librustc compile.Camille GILLOT-1/+1
2020-03-26Make QueryDescription parameter a type.Camille GILLOT-1/+2
2020-03-24normalize some imports, prefer direct ones.Mazdak Farrokhzad-2/+3
2020-03-19rustc: use LocalDefId instead of DefIndex in HirId.Eduard-Mihai Burtescu-35/+0
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-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-1/+1
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-04cover some more nearby casesRalf Jung-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-26clarify operator precedenceMatthias Krüger-1/+1
2020-02-21Auto merge of #69281 - nnethercote:inline-some-encoding-decoding-methods, ↵bors-0/+1
r=Centril Inline some encoding and decoding methods. This is a small performance win. r? @Centril
2020-02-19Add an abstraction for custom query cachesJohn Kåre Alsaker-15/+17
2020-02-19Inline some encoding and decoding methods.Nicholas Nethercote-0/+1
This is a small performance win.
2020-02-15Treat NodeIs as pure values for incremental compilationJohn Kåre Alsaker-24/+1
2020-02-10self-profile: Support arguments for generic_activities.Michael Woerister-2/+4
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-1/+1
2020-01-09Change -Z time event naming scheme and make them generic activitiesJohn Kåre Alsaker-3/+3
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-3/+2
2020-01-05Use self profile infrastructure for -Z time and -Z time-passesJohn Kåre Alsaker-16/+14
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-2/+2
2019-12-22Format the worldMark Rousskov-118/+104
2019-11-06Rollup merge of #65776 - nnethercote:rename-LocalInternedString-and-more, ↵Mazdak Farrokhzad-1/+1
r=estebank Rename `LocalInternedString` and more This PR renames `LocalInternedString` as `SymbolStr`, removes an unnecessary `impl` from it, improves comments, and cleans up some `SymbolStr` uses. r? @estebank
2019-11-02Convert `x.as_str().to_string()` to `x.to_string()` where possible.Nicholas Nethercote-1/+1
2019-11-01`Span` cannot represent `span.hi < span.lo`Vadim Petrochenkov-5/+0
So we can remove the corresponding checks from various code
2019-10-18rustc: arena-allocate the slice in `ty::GenericsPredicate`, not the whole ↵Eduard-Mihai Burtescu-3/+4
struct.
2019-10-03Remove -Zprofile-queriesMark Rousskov-1/+1
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-09-18Fix backticks in documentationJoshua Groves-1/+1
2019-09-07Apply suggestions from code reviewAlexander Regueiro-8/+4
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: librustcAlexander Regueiro-109/+110
2019-08-27Add default serialization for `Ident`sMatthew Jasper-2/+23
Add tests for -Zast-json and -Zast-json-noexpand, which need this impl.
2019-08-23incremental: Do not rely on default transparency when decoding syntax contextsVadim Petrochenkov-10/+10
Using `ExpnId`s default transparency here instead of the mark's real transparency was actually incorrect.
2019-08-15hygiene: `ExpnInfo` -> `ExpnData`Vadim Petrochenkov-34/+34
For naming consistency with everything else in this area
2019-08-15hygiene: Merge `ExpnInfo` and `InternalExpnData`Vadim Petrochenkov-2/+2
2019-08-15hygiene: Remove `Option`s from functions returning `ExpnInfo`Vadim Petrochenkov-11/+7
The expansion info is not optional and should always exist
2019-08-15syntax_pos: `NO_EXPANSION`/`SyntaxContext::empty()` -> `SyntaxContext::root()`Vadim Petrochenkov-2/+2
For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context
2019-08-12Rollup merge of #62108 - Zoxc:sharded-queries, r=oli-obkMazdak Farrokhzad-3/+3
Use sharded maps for queries Based on https://github.com/rust-lang/rust/pull/61779. r? @Gankro
2019-08-08Use associated_type_bounds where applicable - closes #61738Ilija Tovilo-2/+1
2019-07-26Use sharded maps for queriesJohn Kåre Alsaker-3/+3
2019-07-25Rollup merge of #60066 - sfackler:type-name, r=CentrilMazdak Farrokhzad-1/+1
Stabilize the type_name intrinsic in core::any Stabilize `type_name` in `core::any`. Closes rust-lang/rfcs#1428 FCP completed over there. `RELEASES.md`: Prefer T-libs for categorization.
2019-07-24Stabilize the type_name intrinsic in core::anySteven Fackler-1/+1
Closes rust-lang/rfcs#1428
2019-07-23cleanup: Remove `extern crate serialize as rustc_serialize`sVadim Petrochenkov-1/+1
2019-07-19hygiene: Tweak naming some moreVadim Petrochenkov-3/+3
2019-07-19Adjust other names after the `Mark` renamingVadim Petrochenkov-1/+1
2019-07-19libsyntax: Remove `Mark` into `ExpnId`Vadim Petrochenkov-3/+3
2019-07-11Fix failing testsVadim Petrochenkov-2/+3
2019-07-11hygiene: Introduce a helper method for creating new expansionsVadim Petrochenkov-23/+22
Creating a fresh expansion and immediately generating a span from it is the most common scenario. Also avoid allocating `allow_internal_unstable` lists for derive markers repeatedly. And rename `ExpnInfo::with_unstable` to `ExpnInfo::allow_unstable`, seems to be a better fitting name.
2019-07-05Rollup merge of #62169 - Zoxc:store-query-results, r=eddybMazdak Farrokhzad-19/+13
Derive which queries to save using the proc macro Based on https://github.com/rust-lang/rust/pull/62166. r? @eddyb