Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add BuiltinShadowMode | Edwin Cheng | 2019-11-30 | 1 | -1/+1 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -14/+14 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -17/+5 |
| | |||||
* | Use Id for variats | Aleksey Kladov | 2019-11-27 | 1 | -2/+2 |
| | |||||
* | More decoupling | Aleksey Kladov | 2019-11-27 | 1 | -3/+3 |
| | |||||
* | Decouple more | Aleksey Kladov | 2019-11-27 | 1 | -3/+3 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-27 | 1 | -4/+4 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-11-26 | 1 | -2/+2 |
| | |||||
* | Hide MacroCallLoc | Edwin Cheng | 2019-11-26 | 1 | -4/+2 |
| | |||||
* | Merge #2406 | bors[bot] | 2019-11-26 | 1 | -5/+6 |
|\ | | | | | | | | | | | | | | | 2406: Add hygiene information to SourceAnalyzer r=matklad a=edwin0cheng This should fix https://github.com/rust-analyzer/rust-analyzer/pull/2392#issuecomment-557964686 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Remove dbg! | Edwin Cheng | 2019-11-26 | 1 | -2/+0 |
| | | |||||
| * | Add hygiene information to SourceAnalyzer | Edwin Cheng | 2019-11-26 | 1 | -5/+8 |
| | | |||||
* | | Introduce hir::Type | Aleksey Kladov | 2019-11-26 | 1 | -21/+25 |
|/ | | | | It should provide a convenient API over more low-level Ty | ||||
* | Use GenericDefIdMore | Aleksey Kladov | 2019-11-25 | 1 | -2/+2 |
| | |||||
* | Remove Resolver from autoderef | Aleksey Kladov | 2019-11-25 | 1 | -2/+8 |
| | | | | | Resolver holds onto too much context, including local scopes. Let's try to pass in only what is necessary -- the trait environment. | ||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -5/+4 |
| | |||||
* | Don't redo field resolution in the IDE | Aleksey Kladov | 2019-11-24 | 1 | -0/+5 |
| | |||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -8/+4 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-24 | 1 | -6/+7 |
| | |||||
* | Add to_macro_file_kind | Edwin Cheng | 2019-11-21 | 1 | -2/+38 |
| | |||||
* | Move resolver to hir_def | Aleksey Kladov | 2019-11-21 | 1 | -8/+8 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 1 | -4/+9 |
| | |||||
* | Split internal and user-visible ScopeDef | Aleksey Kladov | 2019-11-21 | 1 | -2/+17 |
| | |||||
* | Move ScopeDef | Aleksey Kladov | 2019-11-21 | 1 | -3/+3 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 1 | -4/+4 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 1 | -6/+6 |
| | |||||
* | Move expr resolver to resolve | Aleksey Kladov | 2019-11-21 | 1 | -3/+3 |
| | |||||
* | Decouple Resolver | Aleksey Kladov | 2019-11-21 | 1 | -9/+12 |
| | |||||
* | Add HasResolver trait | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -1/+6 |
| | | | | This allows us to get rid of trait item index | ||||
* | Fix expand macro | Edwin Cheng | 2019-11-20 | 1 | -3/+10 |
| | |||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | 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 with_ast -> with_value | Aleksey Kladov | 2019-11-20 | 1 | -6/+6 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -12/+12 |
| | |||||
* | Change to use Expansion::file_id and reordering | Edwin Cheng | 2019-11-19 | 1 | -6/+1 |
| | |||||
* | Rebase | Edwin Cheng | 2019-11-19 | 1 | -0/+5 |
| | |||||
* | More correct expansion mapping | Aleksey Kladov | 2019-11-17 | 1 | -4/+9 |
| | | | | We can't really map arbitrary ranges, we only can map tokens | ||||
* | Goto definition works inside macros | Aleksey Kladov | 2019-11-16 | 1 | -1/+22 |
| | |||||
* | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 1 | -30/+20 |
| | |||||
* | Prepare SourceAnalyzer for macros | Aleksey Kladov | 2019-11-15 | 1 | -1/+0 |
| | |||||
* | Prepare SourceAnalyzer for macros | Aleksey Kladov | 2019-11-15 | 1 | -7/+6 |
| | |||||
* | Sourcify some more | Aleksey Kladov | 2019-11-15 | 1 | -13/+21 |
| | |||||
* | Sourcify some things | Aleksey Kladov | 2019-11-15 | 1 | -8/+7 |
| | | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere... | ||||
* | Move scope tests to hir_def | Aleksey Kladov | 2019-11-15 | 1 | -19/+5 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-15 | 1 | -3/+3 |
| | |||||
* | Use Local more | Aleksey Kladov | 2019-11-15 | 1 | -8/+0 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -1/+1 |
| | |||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -5/+1 |
| | |||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 1 | -13/+31 |
| | |||||
* | Remove owner from Body | Aleksey Kladov | 2019-11-12 | 1 | -1/+1 |
| |