Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Cleanup errors | Aleksey Kladov | 2019-11-22 | 2 | -21/+29 | |
| | | ||||||
* | | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 7 | -28/+79 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 8 | -20/+44 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | | Move TypeAlias to hir_def | Aleksey Kladov | 2019-11-22 | 6 | -20/+16 | |
| | | | | ||||||
| * | | | Add support for Stringify builtin macro | Piotr Szpetkowski | 2019-11-22 | 2 | -0/+28 | |
| | | | | ||||||
* | | | | Merge #2347 | bors[bot] | 2019-11-22 | 1 | -2/+32 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2347: More correct expand macro r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | | | More correct expand macro | Edwin Cheng | 2019-11-22 | 1 | -2/+32 | |
| |/ / / | ||||||
* | | | | Merge #2351 | bors[bot] | 2019-11-22 | 7 | -51/+63 | |
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 2351: Rename Atts trait r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | Rename Atts trait | Aleksey Kladov | 2019-11-22 | 3 | -15/+12 | |
| | | | | ||||||
| * | | | Encapsulate Attrs | Aleksey Kladov | 2019-11-22 | 6 | -42/+57 | |
| | |/ | |/| | ||||||
* | | | Merge #2349 | bors[bot] | 2019-11-22 | 2 | -4/+23 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2349: Ban println in lsp_server r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | Ban println in lsp_server | Aleksey Kladov | 2019-11-22 | 2 | -4/+23 | |
| | |/ | |/| | ||||||
* / | | Don't continue line comments | Aleksey Kladov | 2019-11-22 | 1 | -3/+31 | |
|/ / | ||||||
* | | Fix insert_whitespaces | Edwin Cheng | 2019-11-21 | 1 | -11/+10 | |
| | | ||||||
* | | Add test for match_ast | Edwin Cheng | 2019-11-21 | 1 | -0/+43 | |
| | | ||||||
* | | Add to_macro_file_kind | Edwin Cheng | 2019-11-21 | 1 | -2/+38 | |
| | | ||||||
* | | Add MacroFileKind::Statements | Edwin Cheng | 2019-11-21 | 2 | -0/+2 | |
| | | ||||||
* | | Merge #2341 | bors[bot] | 2019-11-21 | 1 | -0/+68 | |
|\ \ | |/ |/| | | | | | | | | | | | 2341: Fix mbe fail to parse TokenTree with endings whitespace r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Fixed mbe trival subtree | Edwin Cheng | 2019-11-21 | 1 | -0/+68 | |
| | | ||||||
* | | Fix test mark placement | Aleksey Kladov | 2019-11-21 | 2 | -2/+2 | |
| | | ||||||
* | | reformat | Aleksey Kladov | 2019-11-21 | 2 | -5/+4 | |
| | | ||||||
* | | Remove old hir::generics module | Aleksey Kladov | 2019-11-21 | 11 | -114/+94 | |
| | | ||||||
* | | 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 | 14 | -77/+63 | |
| | ||||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 8 | -49/+53 | |
| | ||||||
* | Split internal and user-visible ScopeDef | Aleksey Kladov | 2019-11-21 | 2 | -17/+40 | |
| | ||||||
* | Use GenericParam in ScopeDef | Aleksey Kladov | 2019-11-21 | 2 | -4/+10 | |
| | ||||||
* | Move ScopeDef | Aleksey Kladov | 2019-11-21 | 4 | -31/+31 | |
| | ||||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 6 | -75/+105 | |
| | ||||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 5 | -43/+59 | |
| | ||||||
* | Move expr resolver to resolve | Aleksey Kladov | 2019-11-21 | 4 | -33/+35 | |
| | ||||||
* | Decouple Resolver | Aleksey Kladov | 2019-11-21 | 10 | -108/+188 | |
| | ||||||
* | Merge #2332 | bors[bot] | 2019-11-20 | 9 | -141/+126 | |
|\ | | | | | | | | | | | | | | | 2332: Add HasResolver trait r=matklad a=matklad bors merge Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Simplify | Aleksey Kladov | 2019-11-20 | 2 | -41/+15 | |
| | | ||||||
| * | Add HasResolver trait | Aleksey Kladov | 2019-11-20 | 9 | -134/+145 | |
| | | ||||||
* | | Merge #2330 | bors[bot] | 2019-11-20 | 9 | -105/+81 | |
|\| | | | | | | | | | | | | | | | 2330: Remove hir/adt.rs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 6 | -66/+47 | |
| | | ||||||
| * | Simplify generic params | Aleksey Kladov | 2019-11-20 | 4 | -39/+34 | |
| | | ||||||
* | | fix 2190; add test for "replace if let with match" | Felix Kohlgrüber | 2019-11-20 | 3 | -5/+58 | |
|/ | ||||||
* | Move generic_params query to HIR | Aleksey Kladov | 2019-11-20 | 4 | -27/+37 | |
| | ||||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 16 | -89/+119 | |
| | | | | This allows us to get rid of trait item index | |||||
* | Don't duplicate ContainerId type | Aleksey Kladov | 2019-11-20 | 5 | -42/+35 | |
| | ||||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 9 | -73/+162 | |
| | ||||||
* | Merge #2326 | bors[bot] | 2019-11-20 | 1 | -132/+0 | |
|\ | | | | | | | | | | | | | | | 2326: Remove duplicate tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Remove duplicate tests | Aleksey Kladov | 2019-11-20 | 1 | -132/+0 | |
| | | ||||||
* | | Fix expand macro | Edwin Cheng | 2019-11-20 | 3 | -9/+16 | |
| | | ||||||
* | | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 12 | -42/+190 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 10 | -117/+103 | |
|/ |