aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Privatise nameresAleksey Kladov2019-11-231-1/+1
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-3/+3
|
* Move ImportIdAleksey Kladov2019-11-231-4/+4
|
* Simplify HasSourceAleksey Kladov2019-11-231-21/+18
|
* Hide ImportIdAleksey Kladov2019-11-233-19/+24
|
* Remove unneded supertraitAleksey Kladov2019-11-231-1/+1
|
* Cleanup importsAleksey Kladov2019-11-231-1/+1
|
* Note that debugging infra is brokenAleksey Kladov2019-11-231-0/+2
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-232-5/+3
|
* Move docs to hir_defAleksey Kladov2019-11-236-132/+43
|
* Move lang_items to hir_defAleksey Kladov2019-11-237-199/+45
|
* Use attrs rather than syntax for lang itemsAleksey Kladov2019-11-231-31/+25
|
* Move attrs query to hir_defAleksey Kladov2019-11-236-116/+73
|
* More principled sources for enums and fieldsAleksey Kladov2019-11-222-43/+26
|
* Uniformalize namingAleksey Kladov2019-11-221-1/+1
|
* Expand column!()Jeremy Kolb2019-11-221-0/+19
|
* Merge #2357bors[bot]2019-11-221-0/+19
|\ | | | | | | | | | | | | | | 2357: Expand file! to dummy "" r=edwin0cheng a=kjeremy See https://github.com/rust-analyzer/rust-analyzer/pull/2355#issuecomment-557541873 Co-authored-by: kjeremy <[email protected]>
| * Expand file! to dummy ""kjeremy2019-11-221-0/+19
| |
* | Remove TraitData from APIAleksey Kladov2019-11-222-10/+5
| |
* | Hide data from public APIAleksey Kladov2019-11-223-16/+8
| |
* | Move const&static date to hir_defAleksey Kladov2019-11-225-67/+22
| |
* | Make ImplData's fields publicAleksey Kladov2019-11-223-6/+6
| |
* | Move FunctionData to hir_defAleksey Kladov2019-11-226-100/+31
|/
*-. Merge #2348 #2352bors[bot]2019-11-224-40/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_defAleksey Kladov2019-11-224-40/+4
| |/
* | Merge #2351bors[bot]2019-11-223-16/+15
|\ \ | |/ |/| | | | | | | | | | | 2351: Rename Atts trait r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename Atts traitAleksey Kladov2019-11-222-13/+10
| |
| * Encapsulate AttrsAleksey Kladov2019-11-222-9/+11
| |
* | Add to_macro_file_kindEdwin Cheng2019-11-211-2/+38
|/
* reformatAleksey Kladov2019-11-212-5/+4
|
* Remove old hir::generics moduleAleksey Kladov2019-11-2111-114/+94
|
* Move resolver to hir_defAleksey Kladov2019-11-2113-652/+29
|
* DecoupleAleksey Kladov2019-11-218-49/+53
|
* Split internal and user-visible ScopeDefAleksey Kladov2019-11-212-17/+40
|
* Use GenericParam in ScopeDefAleksey Kladov2019-11-212-4/+10
|
* Move ScopeDefAleksey Kladov2019-11-214-31/+31
|
* DecoupleAleksey Kladov2019-11-216-75/+105
|
* DecoupleAleksey Kladov2019-11-215-43/+59
|
* Move expr resolver to resolveAleksey Kladov2019-11-214-33/+35
|
* Decouple ResolverAleksey Kladov2019-11-219-107/+180
|
* SimplifyAleksey Kladov2019-11-202-41/+15
|
* Add HasResolver traitAleksey Kladov2019-11-208-134/+138
|
* Remove hir/adt.rsAleksey Kladov2019-11-206-66/+47
|
* Simplify generic paramsAleksey Kladov2019-11-203-37/+33
|
* Move generic_params query to HIRAleksey Kladov2019-11-202-23/+6
|
* Move constants to new IDAleksey Kladov2019-11-208-28/+52
| | | | This allows us to get rid of trait item index
* Don't duplicate ContainerId typeAleksey Kladov2019-11-201-8/+8
|
* Switch type aliases to new sourcesAleksey Kladov2019-11-203-54/+88
|
* Fix expand macroEdwin Cheng2019-11-201-3/+10
|
* Next gen IDs for functionsAleksey Kladov2019-11-204-19/+76
| | | | | | | | | | | | | | | | | 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