about summary refs log tree commit diff
path: root/src/librustc_trans/save/mod.rs
AgeCommit message (Collapse)AuthorLines
2016-03-27rustc_trans: move save to librustc_save_analysis.Eduard Burtescu-740/+0
2016-03-27rustc: move cfg, infer, traits and ty from middle to top-level.Eduard Burtescu-1/+1
2016-03-25Make CrateStore::crate_name() return an InternedString to avoid unnecessary ↵Michael Woerister-1/+1
allocations.
2016-03-15Refactor rustc_trans::saveAdolfo Ochagavía-166/+44
Move rustc_trans::*Data to own module Add new data to rustc_trans::save Create a Dump trait implemented by structs that dump save analysis data Split dump_csv into a DumpVisitor and a CsvDumper
2016-03-03Rename middle::ty::ctxt to TyCtxtJeffrey Seyfried-5/+5
2016-02-13Split ast::PatKind::Enum into tuple struct and path patternsVadim Petrochenkov-1/+2
2016-02-13Rename ast::Pat_ and its variantsVadim Petrochenkov-5/+5
2016-02-12Autoderef in librustc_transJonas Schievink-1/+1
2016-02-11[breaking-change] don't glob export ast::Mutablity variantsOliver 'ker' Schneider-5/+7
2016-02-11[breaking-change] don't glob export ast::Item_ variantsOliver 'ker' Schneider-6/+6
2016-02-11[breaking-change] don't pub export ast::Ty_ variantsOliver Schneider-1/+1
2016-02-11[breaking-change] don't glob export ast::Expr_ variantsOliver Schneider-4/+4
2016-02-02Auto merge of #31279 - DanielJCampbell:MacroReferencing, r=nrcbors-0/+63
r? @nrc
2016-02-01Implemented macro referencing for save analysisDaniel Campbell-0/+63
2016-02-01Some changes to save-analysis to cope with errorsNick Cameron-4/+7
2016-01-22Extended save-analysis to support generated code, alterned some spans in ↵Daniel Campbell-48/+54
format_args! and derive to maintain compatability
2016-01-20Rename Def's variants and don't reexport themVadim Petrochenkov-16/+16
2016-01-20Refactor definitions of ADTs in rustc::middle::defVadim Petrochenkov-2/+3
2016-01-05Annotate the compiler with information about what it is doing when.Niko Matsakis-0/+2
2015-12-20Stop re-exporting the ast::BindingMode variants.Ms2ger-2/+2
2015-11-26make CrateStore a trait objectAriel Ben-Yehuda-3/+3
rustdoc still broken
2015-11-20save-analysis: make the dump file's name closer to the crate file's nameNick Cameron-2/+10
2015-10-21save-analysis: don't recompute crate nameNick Cameron-10/+3
2015-10-09Cache ids between lowering runsNick Cameron-4/+4
So that lowering is reproducible
2015-10-09Move `for` loop desugaring to loweringNick Cameron-4/+6
2015-10-09Add a lowering contextNick Cameron-9/+13
2015-10-06rustfmt librustc_trans/saveNick Cameron-45/+52
2015-10-01Make calling def_id on a DefSelfTy an error; the previous defids thatNiko Matsakis-1/+1
were returned, either the trait or the *self type itself*, were not particularly representative of what the Def is (a type parameter). Rewrite paths to handle this case specially, just as they handle the primitive case specifically. This entire `def_id` codepath is kind of a mess.
2015-10-01move direct accesses of `node` to go through `as_local_node_id`, unlessNiko Matsakis-22/+21
they are being used as an opaque "position identifier"
2015-10-01move job of creating local-def-ids to ast-map (with a few stragglers)Niko Matsakis-7/+9
2015-10-01move LOCAL_CRATE to cstoreNiko Matsakis-1/+2
2015-09-18Fix crash with --save-analysisNick Cameron-4/+4
Should be lowering ast expressions to HIR expressions, not cheating via the hir map. That goes wrong now that there is not a 1:1 mapping between ast and hir (in the case of the crash due to ExprParen).
2015-09-05rustfmt librustc_trans/saveNick Cameron-30/+19
2015-09-03Add an intital HIR and lowering stepNick Cameron-8/+12
2015-08-24convert to use `is_local` instead of `== LOCAL_CRATE`Niko Matsakis-1/+1
2015-08-24fallout from moving def-idNiko Matsakis-8/+9
2015-08-19Auto merge of #27493 - GSam:master, r=nrcbors-3/+3
In order to test the validity of identifiers, exposing the name resolution module is necessary. Other changes mostly comprise of exposing modules publicly like parts of save-analysis, so they can be called appropriately.
2015-08-12Remove all unstable deprecated functionalityAlex Crichton-1/+0
This commit removes all unstable and deprecated functions in the standard library. A release was recently cut (1.3) which makes this a good time for some spring cleaning of the deprecated functions.
2015-08-09Expose more of the save analysis moduleGarming Sam-3/+3
2015-08-07rename ADTDef to AdtDef etc.Ariel Ben-Yehuda-1/+1
2015-08-06use VariantDef instead of struct_fieldsAriel Ben-Yehuda-33/+17
2015-08-06introduce an ADTDef struct for struct/enum definitionsAriel Ben-Yehuda-4/+4
2015-08-04rustc: replace def::MethodProvenance with ty::ImplOrTraitItemContainer.Eduard Burtescu-4/+4
2015-07-28Auto merge of #27234 - oli-obk:move_get_name_get_ident_to_impl, r=eddybbors-13/+12
this has quite some fallout. but also made lots of stuff more readable imo [breaking-change] for plugin authors
2015-07-28remove `get_ident` and `get_name`, make `as_str` soundOliver Schneider-13/+12
2015-07-25save-analysis: return an Option from get_path_dataNick Cameron-17/+13
2015-07-25save-analysis: add references to paths to get_path_dataNick Cameron-0/+17
2015-07-14save-analysis: fix def_ids for method callsNick Cameron-7/+20
We were sometime emitting the decl as a def.
2015-07-14save-analysis: handle a few more kinds of pathsNick Cameron-1/+4
2015-07-14save-analysis: tweak constructorsNick Cameron-3/+8