Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 5 | -368/+202 | |
| | ||||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 3 | -15/+38 | |
| | ||||||
* | Rename MacroResolver -> Expander | Aleksey Kladov | 2019-11-14 | 1 | -2/+2 | |
| | ||||||
* | Move current file to MacroResolver | Aleksey Kladov | 2019-11-14 | 1 | -2/+2 | |
| | ||||||
* | Normalize data | Aleksey Kladov | 2019-11-14 | 1 | -14/+9 | |
| | | | | No need to store derivable info | |||||
* | Reduce duplication between uncertain floats & ints | Aleksey Kladov | 2019-11-13 | 7 | -70/+55 | |
| | ||||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 5 | -730/+37 | |
| | ||||||
* | Remove owner from Body | Aleksey Kladov | 2019-11-12 | 5 | -28/+19 | |
| | ||||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 5 | -502/+56 | |
| | ||||||
* | Minor refactoring | Aleksey Kladov | 2019-11-12 | 1 | -3/+3 | |
| | ||||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 5 | -45/+42 | |
| | ||||||
* | Introduce hir::GenericParam | Aleksey Kladov | 2019-11-11 | 3 | -7/+16 | |
| | | | | Unlike existing hir::GenericParams, this is a global ID. | |||||
* | Don't reexport generics from HIR | Aleksey Kladov | 2019-11-11 | 5 | -12/+13 | |
| | ||||||
* | Merge #2200 | bors[bot] | 2019-11-11 | 5 | -19/+90 | |
|\ | | | | | | | | | | | | | | | | | | | 2200: Add variables to HIR r=matklad a=matklad Introduce a `hir::Variable`, which should cover locals, parameters and `self`. Unlike `PatId`, variable knows it's owner so it is self-contained, and should be more convenient to use from `ra_ide_api`. The goal here is to hide more details about `Body` from hir, which should make it easier to move `Body` into `hir_def`. I don't think that `ra_ide_api` intrracts with bodies directly at the moment anyway, but the glue layer is based basically on `ast::BindPat`, which seems pretty brittle. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Add hir::Local | Aleksey Kladov | 2019-11-11 | 5 | -19/+90 | |
| | | ||||||
* | | Merge #2205 | bors[bot] | 2019-11-11 | 1 | -0/+19 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Add MacroDefKind | Edwin Cheng | 2019-11-11 | 1 | -8/+3 | |
| | | ||||||
| * | Add line macro and tests | Edwin Cheng | 2019-11-11 | 1 | -0/+19 | |
| | | ||||||
| * | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 1 | -3/+8 | |
| | | ||||||
* | | Make primitive tys public | Aleksey Kladov | 2019-11-11 | 1 | -1/+5 | |
| | | ||||||
* | | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 6 | -19/+18 | |
|/ | ||||||
* | Merge #2179 | bors[bot] | 2019-11-06 | 4 | -0/+98 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]> | |||||
| * | HirDatabase stored attributes | Martin Asquino | 2019-11-04 | 4 | -0/+98 | |
| | | ||||||
* | | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 8 | -18/+29 | |
| | | ||||||
* | | Appease the linter by dummy doc comments | Aleksey Kladov | 2019-11-04 | 1 | -1/+1 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2019-11-04 | 1 | -35/+24 | |
| | | ||||||
* | | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 4 | -42/+39 | |
| | | | | | | | | Actually working rename is sooo useful! | |||||
* | | remove dead code | Aleksey Kladov | 2019-11-04 | 1 | -26/+7 | |
| | | ||||||
* | | Remove more duplication in test fixtures | Aleksey Kladov | 2019-11-04 | 3 | -50/+6 | |
| | | ||||||
* | | Remove some duplicated test functions | Aleksey Kladov | 2019-11-04 | 1 | -81/+16 | |
|/ | ||||||
* | Cleanup unused marks | Aleksey Kladov | 2019-11-04 | 1 | -10/+0 | |
| | ||||||
* | Use new text DSL instead of crate_graph! macro | Aleksey Kladov | 2019-11-04 | 3 | -128/+25 | |
| | ||||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 1 | -2/+1 | |
| | ||||||
* | Add small module-level docs | Aleksey Kladov | 2019-11-03 | 1 | -0/+5 | |
| | ||||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 7 | -66/+11 | |
| | ||||||
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 7 | -2252/+0 | |
| | ||||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 17 | -1553/+183 | |
| | ||||||
* | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 6 | -89/+21 | |
| | ||||||
* | Move Source to hir_expand | Aleksey Kladov | 2019-11-02 | 2 | -3/+3 | |
| | ||||||
* | Change SourceAnalyzer method resoltion API | Florian Diebold | 2019-11-01 | 2 | -4/+26 | |
| | ||||||
* | Various review fixes | Florian Diebold | 2019-11-01 | 3 | -17/+13 | |
| | ||||||
* | Add some doc comments | Florian Diebold | 2019-11-01 | 1 | -0/+6 | |
| | ||||||
* | Complete trait assoc items | Florian Diebold | 2019-11-01 | 3 | -5/+8 | |
| | ||||||
* | Refactor a bit | Florian Diebold | 2019-11-01 | 1 | -36/+25 | |
| | ||||||
* | Don't do autoderef for path resolution | Florian Diebold | 2019-11-01 | 1 | -18/+39 | |
| | ||||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 6 | -137/+111 | |
| | ||||||
* | Record assoc item resolution | Florian Diebold | 2019-11-01 | 1 | -1/+3 | |
| | ||||||
* | Insert type vars before doing assoc item resolution | Florian Diebold | 2019-11-01 | 2 | -12/+15 | |
| | ||||||
* | Add another unrelated, currently not working test | Florian Diebold | 2019-11-01 | 1 | -0/+16 | |
| | ||||||
* | Get trait assoc item resolution mostly working | Florian Diebold | 2019-11-01 | 3 | -16/+261 | |
| |