Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't guess macro expansion crate | Aleksey Kladov | 2020-06-11 | 1 | -1/+1 |
| | |||||
* | add support of feature flag for runnables #4464 | Benjamin Coenen | 2020-05-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> | ||||
* | refactor: use attrsOwner directly in is_cfg_enabled | Benjamin Coenen | 2020-05-05 | 1 | -7/+4 |
| | | | | Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> | ||||
* | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -0/+2 |
| | |||||
* | Fix typo | veetaha | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Don't expose impl details of SyntaxPtr | Aleksey Kladov | 2020-04-17 | 1 | -2/+2 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-04-11 | 1 | -4/+4 |
| | |||||
* | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -5/+0 |
| | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | Avoid cyclic queries in name resolution when processing enums | Aleksey Kladov | 2020-04-11 | 1 | -11/+36 |
| | |||||
* | Align naming | Aleksey Kladov | 2020-04-11 | 1 | -1/+1 |
| | |||||
* | Pull Expander up | Aleksey Kladov | 2020-04-11 | 1 | -1/+16 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-04-11 | 1 | -0/+5 |
| | |||||
* | Forward compat | Aleksey Kladov | 2020-04-10 | 1 | -3/+3 |
| | |||||
* | Add recursive limit in expression macro expansion | Edwin Cheng | 2020-03-21 | 1 | -1/+8 |
| | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 1 | -2/+2 |
| | |||||
* | 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 <aleksey.kladov@gmail.com> | ||||
| * | 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 |
| |