about summary refs log tree commit diff
path: root/src/librustc_save_analysis/data.rs
AgeCommit message (Collapse)AuthorLines
2017-06-16Remove intermediate forms and some other refactoringNick Cameron-421/+0
2017-06-12Use the new signature stuffNick Cameron-33/+8
And fix a couple of bugs
2017-05-11Ensure we walk the root module of the crateNick Cameron-1/+1
2017-03-15Use out-of-tree rustc serializeNick Cameron-30/+30
And remove a few data structures in favour of rls-data ones
2017-03-15Change json dumper (and a few other bits and pieces) to use rls-data rather ↵Nick Cameron-8/+2
than its own data structures
2017-03-10Export attributes in save-analysis dataJonas Bushart-1/+11
Some annotations like the "test" annotations might be of interest for other projects, especially rls. Export all attributes in a new attributes item.
2016-12-22signature info for other items (mods, fns, methods, etc.)Nick Cameron-2/+10
2016-12-22field signaturesNick Cameron-0/+1
2016-12-22save-analysis: add `Signature` info to structsNick Cameron-0/+26
2016-09-20rustc_metadata: go only through rustc_serialize in astencode.Eduard Burtescu-2/+2
2016-09-19save-analysis: better 'parent' infoNick Cameron-5/+6
In particular, this fixes some bugs displaying doc URLs for method calls.
2016-09-07save-analysis: add docs dataNick Cameron-0/+11
2016-09-01save-analysis: add parent info to api dumpsNick Cameron-2/+7
The parent id is used for constructing rustdoc URLs by clients
2016-09-01Thread visibility info through save-analysis and filter save-analysis-api on it.Nick Cameron-4/+43
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-06-16save-analysis: add a decl_id for methodsNick Cameron-0/+1
This is non-null if the method is in a (non-inherent) impl and in that case will be the id for the method declaration in the implemented trait.
2016-06-11save-analysis: some refinements to JSON dataNick Cameron-2/+16
Split variable and function kinds to give more information. Give children for methods, structs, enums, and traits.
2016-05-11save-analysis: attempt number 2 at a JSON versionNick Cameron-2/+10
2016-05-09Rollup merge of #33370 - aochagavia:dump, r=nrcManish Goregaokar-87/+1
save-analysis: use a decoupled representation for dumped data Closes #33348 This will probably break any tool relying on the csv backend of save_analysis, for the following reasons: 1. Dumped spans don't contain extents anymore (`Dump` uses `SpanData` now instead of internal `Span`s). In case we still want to dump extents we could add them to `SpanData`. 1. `DefId`s are no longer dumped as a pair of `(ref_id, ref_crate)`. Instead, they are dumped as a single `Id`. @nrc You said something about storing the id in a `u64`, but you didn't explain why. I kept using `u32` in this branch but I can change it if you prefer that. r? @nrc By the way, the fact that this breaks tools relying on CSV may be a good occasion to start dumping CSV in a different way (i.e. using the serializer like in the JSON backend).
2016-05-03save-analysis: use a decoupled representation for dumped dataAdolfo Ochagavía-87/+1
Closes #33348
2016-05-03Remove unused trait imports flagged by lintSeo Sanghyeon-2/+0
2016-04-25save-analysis-json: introduce a lowering stepNick Cameron-1/+31
...in which we make the spans nice.
2016-04-25save-analysis: implement JSON dumpsNick Cameron-30/+33
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-1/+1
2016-03-31librustc_save_analysis: remove duplicate macro defBenjamin Herr-11/+0
2016-03-31librustc_save_analysis: use bug!(), span_bug!()Benjamin Herr-2/+2
2016-03-27rustc_trans: move save to librustc_save_analysis.Eduard Burtescu-0/+394