aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* reduce visibilityAleksey Kladov2019-01-251-10/+3
|
* use positional ids for fieldsAleksey Kladov2019-01-256-131/+144
|
* rename struct field -> struct field dataAleksey Kladov2019-01-251-6/+6
|
* pack enum variants into arenaAleksey Kladov2019-01-257-74/+55
|
* switch to positional enum variantsAleksey Kladov2019-01-253-38/+44
|
* Merge #634bors[bot]2019-01-259-205/+186
|\ | | | | | | | | | | | | | | 634: rename def_id -> def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * drop obsolete fixmeAleksey Kladov2019-01-251-1/+0
| |
| * deglobifyAleksey Kladov2019-01-251-2/+1
| |
| * simplifyAleksey Kladov2019-01-255-14/+20
| |
| * remove useless wrapperAleksey Kladov2019-01-252-6/+1
| |
| * fix commentAleksey Kladov2019-01-251-3/+2
| |
| * rename def_id -> defAleksey Kladov2019-01-253-31/+17
| |
| * write path resolution code only onceAleksey Kladov2019-01-253-65/+15
| |
| * refactor import resolutionAleksey Kladov2019-01-254-99/+146
| | | | | | | | | | extract path resolution use enums instead of bools
* | Merge #630bors[bot]2019-01-255-59/+179
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 630: Fill in DocumentSymbol::detail r=matklad a=hban Closes: #516 I just pulled type text from the syntax node and "formatted" is bit. VS Code can't really handle multi-line symbol detail (it's will crop it when rendering), so that formatting will just collapse all white-space to singe space. It isn't pretty, but maybe there's a better way. Issue also mentions "need to be done for `NavigationTarget` to `SymbolInformation`", but `SymbolInformation` doesn't have detail field on it? Co-authored-by: Hrvoje Ban <[email protected]>
| * Fill in DocumentSymbol::detailHrvoje Ban2019-01-245-59/+179
| |
* | Merge #633bors[bot]2019-01-244-8/+523
|\ \ | | | | | | | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | use ToOwned trait instead of inherent methodAleksey Kladov2019-01-244-8/+523
| | |
* | | Merge #623bors[bot]2019-01-2436-977/+939
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 623: WIP: module id is not def id r=matklad a=matklad This achieves two things: * makes module_tree & item_map per crate, not per source_root * begins the refactoring to remove universal `DefId` in favor of having separate ids for each kind of `Def`. Currently, only modules get a differnt ID though. Co-authored-by: Aleksey Kladov <[email protected]>
| * | move adt to adtAleksey Kladov2019-01-243-24/+23
| | |
| * | Kill DefIdAleksey Kladov2019-01-242-31/+11
| | |
| * | kill DefKindcAleksey Kladov2019-01-243-55/+15
| | |
| * | ModuleDef is Def-freeAleksey Kladov2019-01-244-12/+2
| | |
| * | Migrate trait & type to new idsAleksey Kladov2019-01-2413-186/+104
| | |
| * | generalizeAleksey Kladov2019-01-241-4/+17
| | |
| * | move consts&statics to new idAleksey Kladov2019-01-248-47/+86
| | |
| * | remove boilerplateAleksey Kladov2019-01-246-92/+72
| | |
| * | generalize boilerplateAleksey Kladov2019-01-243-39/+51
| | |
| * | remove dead codeAleksey Kladov2019-01-241-11/+1
| | |
| * | removed untyped typabledefAleksey Kladov2019-01-241-26/+3
| | |
| * | adapt ide_api to the new APIAleksey Kladov2019-01-244-6/+12
| | |
| * | move enum variant to the new APIAleksey Kladov2019-01-246-142/+97
| | |
| * | remove useless aliasesAleksey Kladov2019-01-243-38/+14
| | |
| * | macro-generate fromsAleksey Kladov2019-01-244-78/+17
| | |
| * | adapt ide_api to the new APIAleksey Kladov2019-01-244-46/+45
| | |
| * | kill unused defsAleksey Kladov2019-01-242-7/+0
| | |
| * | migrate enums to new idAleksey Kladov2019-01-249-143/+191
| | |
| * | introduce EnumIdAleksey Kladov2019-01-241-0/+19
| | |
| * | new struct idAleksey Kladov2019-01-2412-106/+200
| | |
| * | add StructIdAleksey Kladov2019-01-241-0/+19
| | |
| * | update ide_api to new hirAleksey Kladov2019-01-245-10/+14
| | |
| * | remove DefKind::FunctionAleksey Kladov2019-01-242-6/+4
| | |
| * | Functions use new id schemeAleksey Kladov2019-01-2413-201/+297
| | |
| * | add FunctionIdAleksey Kladov2019-01-241-0/+23
| | |
| * | Change ids strategyAleksey Kladov2019-01-2426-431/+366
| | | | | | | | | | | | | | | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* | | ReformatDJMcNab2019-01-241-15/+16
| | |
* | | Apply suggestions from code reviewDaniel McNab2019-01-241-2/+1
| | | | | | | | | Co-Authored-By: DJMcNab <[email protected]>
* | | Dedupe PATH_FIRST in ATOM_EXPR_FIRSTDJMcNab2019-01-241-7/+2
| | |
* | | Support universal function call syntax in function callsDJMcNab2019-01-246-6/+226
| |/ |/|
* | Merge #627bors[bot]2019-01-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 627: Use stable toolchain r=matklad a=kjeremy Fixes #622 Co-authored-by: Jeremy Kolb <[email protected]>