Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -11/+11 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Support local macro_rules | Edwin Cheng | 2020-03-14 | 1 | -3/+9 |
| | |||||
* | Explicitly remember desugard pats | Aleksey Kladov | 2020-03-06 | 1 | -2/+2 |
| | |||||
* | Explicitly remember desugard exprs | Aleksey Kladov | 2020-03-06 | 1 | -3/+3 |
| | |||||
* | Source map returns a result | Aleksey Kladov | 2020-03-06 | 1 | -4/+7 |
| | | | | cc #2236 | ||||
* | Introduce AsMacroCall trait | Edwin Cheng | 2020-02-17 | 1 | -32/+22 |
| | |||||
* | Use pre-stored macro file | Edwin Cheng | 2019-12-23 | 1 | -6/+16 |
| | |||||
* | Add macro call support for type_of | Edwin Cheng | 2019-12-23 | 1 | -10/+6 |
| | |||||
* | Share impl Scope between modules and blocks | Aleksey Kladov | 2019-12-22 | 1 | -2/+3 |
| | |||||
* | Optimize and profile | Aleksey Kladov | 2019-12-21 | 1 | -0/+2 |
| | |||||
* | Merge #2624 | bors[bot] | 2019-12-20 | 1 | -1/+2 |
|\ | | | | | | | | | | | | | | | 2624: Separate module item from module scope r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Move ModuleScope to a new module | Aleksey Kladov | 2019-12-20 | 1 | -1/+2 |
| | | |||||
* | | Add support macros in impl blocks | Edwin Cheng | 2019-12-20 | 1 | -9/+13 |
|/ | |||||
* | Fix resolve for field init shorthand | Aleksey Kladov | 2019-12-20 | 1 | -0/+5 |
| | |||||
* | Add local functions to bodies | Aleksey Kladov | 2019-12-20 | 1 | -16/+27 |
| | |||||
* | Allow storing defs in bodies | Aleksey Kladov | 2019-12-19 | 1 | -1/+2 |
| | |||||
* | Forbid <T>::foo syntax in mod paths | Aleksey Kladov | 2019-12-18 | 1 | -4/+8 |
| | |||||
* | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -1/+1 |
| | |||||
* | Remove MacroFileKind | Edwin Cheng | 2019-12-08 | 1 | -4/+2 |
| | |||||
* | Add expansion infrastructure for derive macros | Florian Diebold | 2019-12-05 | 1 | -2/+4 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -5/+4 |
| | |||||
* | Add BuiltinShadowMode | Edwin Cheng | 2019-11-30 | 1 | -2/+5 |
| | |||||
* | Move source-related traits to a separate module | Aleksey Kladov | 2019-11-28 | 1 | -1/+2 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -7/+7 |
| | |||||
* | Rename module_id -> local_id | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | Hide MacroCallLoc | Edwin Cheng | 2019-11-26 | 1 | -3/+2 |
| | |||||
* | Docs | Aleksey Kladov | 2019-11-24 | 1 | -1/+2 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -22/+6 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -1/+2 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -8/+8 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -0/+1 |
| | | | | This allows us to get rid of trait item index | ||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -6/+6 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -2/+32 |
| | |||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -0/+1 |
| | |||||
* | Slightly better naming | Aleksey Kladov | 2019-11-14 | 1 | -9/+6 |
| | |||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 1 | -19/+9 |
| | |||||
* | Move expansion to Expander | Aleksey Kladov | 2019-11-14 | 1 | -2/+34 |
| | |||||
* | Move parse_path to Expander | Aleksey Kladov | 2019-11-14 | 1 | -0/+4 |
| | |||||
* | Expansion stack scaffold | Aleksey Kladov | 2019-11-14 | 1 | -2/+35 |
| | |||||
* | Add Expader::to_source | Aleksey Kladov | 2019-11-14 | 1 | -0/+4 |
| | |||||
* | Move original_file to Expander | Aleksey Kladov | 2019-11-14 | 1 | -1/+7 |
| | |||||
* | Rename MacroResolver -> Expander | Aleksey Kladov | 2019-11-14 | 1 | -10/+6 |
| | |||||
* | Move current file to MacroResolver | Aleksey Kladov | 2019-11-14 | 1 | -4/+9 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-14 | 1 | -5/+1 |
| | |||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -0/+142 |
| | |||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -0/+2 |