Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Some docs | Aleksey Kladov | 2019-11-24 | 4 | -11/+18 | |
| | ||||||
* | Cleanup | Aleksey Kladov | 2019-11-24 | 6 | -19/+14 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2019-11-24 | 2 | -8/+11 | |
| | ||||||
* | Nicer API for attrs | Aleksey Kladov | 2019-11-24 | 3 | -31/+37 | |
| | ||||||
* | Slightly reduce code duplication | Aleksey Kladov | 2019-11-24 | 3 | -33/+30 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 2 | -19/+5 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -15/+0 | |
| | ||||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 8 | -14/+46 | |
| | ||||||
* | Pull macro up | Aleksey Kladov | 2019-11-24 | 1 | -14/+1 | |
| | ||||||
* | Push poison_macros down | Aleksey Kladov | 2019-11-24 | 2 | -25/+28 | |
| | ||||||
* | Reduce visbility | Aleksey Kladov | 2019-11-24 | 1 | -10/+10 | |
| | ||||||
* | Move ModuleSource back to hir | Aleksey Kladov | 2019-11-23 | 2 | -74/+6 | |
| | ||||||
* | Privatise nameres | Aleksey Kladov | 2019-11-23 | 6 | -9/+11 | |
| | ||||||
* | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 7 | -51/+51 | |
| | ||||||
* | Move ImportId | Aleksey Kladov | 2019-11-23 | 4 | -24/+22 | |
| | ||||||
* | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -10/+10 | |
| | ||||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 19 | -128/+118 | |
| | ||||||
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 3 | -0/+75 | |
| | ||||||
* | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 3 | -3/+134 | |
| | ||||||
* | Use attrs rather than syntax for lang items | Aleksey Kladov | 2019-11-23 | 2 | -8/+20 | |
| | ||||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 4 | -7/+129 | |
| | ||||||
* | More principled sources for enums and fields | Aleksey Kladov | 2019-11-22 | 3 | -40/+167 | |
| | ||||||
* | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -15/+10 | |
| | ||||||
* | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 2 | -5/+36 | |
| | ||||||
* | Make ImplData's fields public | Aleksey Kladov | 2019-11-22 | 1 | -22/+8 | |
| | ||||||
* | Move data to a single file | Aleksey Kladov | 2019-11-22 | 7 | -248/+208 | |
| | ||||||
* | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 3 | -1/+68 | |
| | ||||||
*-. | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 3 | -1/+33 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <piotr.szpetkowski@pyquest.space> Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com> | |||||
| | * | Move TypeAlias to hir_def | Aleksey Kladov | 2019-11-22 | 3 | -1/+33 | |
| |/ | ||||||
* / | Encapsulate Attrs | Aleksey Kladov | 2019-11-22 | 3 | -29/+45 | |
|/ | ||||||
* | Fix test mark placement | Aleksey Kladov | 2019-11-21 | 2 | -2/+2 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2019-11-21 | 1 | -41/+37 | |
| | ||||||
* | Resimplify | Aleksey Kladov | 2019-11-21 | 1 | -23/+6 | |
| | ||||||
* | Restore a mark | Aleksey Kladov | 2019-11-21 | 3 | -1/+20 | |
| | ||||||
* | Move resolver to hir_def | Aleksey Kladov | 2019-11-21 | 2 | -0/+609 | |
| | ||||||
* | Decouple Resolver | Aleksey Kladov | 2019-11-21 | 1 | -1/+8 | |
| | ||||||
* | Simplify generic params | Aleksey Kladov | 2019-11-20 | 1 | -2/+1 | |
| | ||||||
* | Move generic_params query to HIR | Aleksey Kladov | 2019-11-20 | 2 | -4/+31 | |
| | ||||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 6 | -54/+65 | |
| | | | | This allows us to get rid of trait item index | |||||
* | Don't duplicate ContainerId type | Aleksey Kladov | 2019-11-20 | 4 | -34/+27 | |
| | ||||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 6 | -19/+74 | |
| | ||||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 7 | -22/+105 | |
| | | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def | |||||
* | Move traits to hir_def | Aleksey Kladov | 2019-11-20 | 5 | -3/+86 | |
| | ||||||
* | Move Generics to hir_def | Aleksey Kladov | 2019-11-20 | 2 | -0/+187 | |
| | ||||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 8 | -24/+25 | |
| | ||||||
* | Disable doctests | Aleksey Kladov | 2019-11-17 | 2 | -1/+4 | |
| | ||||||
* | Remove wrong clone | Aleksey Kladov | 2019-11-15 | 1 | -2/+2 | |
| | ||||||
* | Sourcify some things | Aleksey Kladov | 2019-11-15 | 1 | -6/+5 | |
| | | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere... | |||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 3 | -1/+89 | |
| | ||||||
* | Store impls in CrateDefMap | Aleksey Kladov | 2019-11-15 | 3 | -4/+39 | |
| |