Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clippy trivially_copy_pass_by_ref | Jeremy Kolb | 2019-07-05 | 1 | -2/+2 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -6/+4 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 1 | -9/+9 |
| | |||||
* | check for cancellation when executing queries | Aleksey Kladov | 2019-06-12 | 1 | -1/+0 |
| | | | | | | | Note that we can't just remove CheckCanceled trait altogether: sometimes it's useful to check for cancellation while the query is running! We do this, for example, in the name resolution fixed-point loop. | ||||
* | remove unneded From(..) impl | Aleksey Kladov | 2019-06-11 | 1 | -3/+3 |
| | |||||
* | don't cache parses twice | Aleksey Kladov | 2019-06-02 | 1 | -25/+28 |
| | | | | | | | | | Before this commit, `Parse`s for original file ended up two times in salsa's db: first, when we parse original file, and second, when we parse macro or a file. Given that parse trees are the worst ofenders in terms of memory, it makes sense to make sure we store them only once. | ||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -14/+17 |
| | |||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | check cancellation when expanding macros | Aleksey Kladov | 2019-05-27 | 1 | -0/+1 |
| | |||||
* | add profile calls to parsing/expansion routines | Aleksey Kladov | 2019-05-22 | 1 | -0/+2 |
| | |||||
* | allow expanding expressions | Aleksey Kladov | 2019-05-14 | 1 | -0/+4 |
| | |||||
* | expand to syntax node | Aleksey Kladov | 2019-05-14 | 1 | -12/+12 |
| | |||||
* | store macro kind in HirFileId | Aleksey Kladov | 2019-05-14 | 1 | -15/+28 |
| | |||||
* | Move Chalk conversion code to its own module | Florian Diebold | 2019-05-04 | 1 | -46/+4 |
| | |||||
* | Chalk integration | Florian Diebold | 2019-05-04 | 1 | -0/+54 |
| | | | | | - add proper canonicalization logic - add conversions from/to Chalk IR | ||||
* | make macro expansion into a proper query | Aleksey Kladov | 2019-05-04 | 1 | -21/+22 |
| | |||||
* | minor, move | Aleksey Kladov | 2019-05-04 | 1 | -19/+19 |
| | |||||
* | introduce macro_arg intermediate query | Aleksey Kladov | 2019-05-04 | 1 | -5/+9 |
| | | | | | | | | | | | | Currently, when expanding macros, we look at the source code directly (we invoke ast_id_to_node query via to_node method). This is less then ideal, because it make us re-expand macros after every source change. This commit establishes a salsa-firewall: a query to get macro call's token tree. Unlike the syntax tree, token tree changes only if we actually modify the macro itself. | ||||
* | Add more information on macro rules fail to parse | Edwin Cheng | 2019-04-25 | 1 | -2/+8 |
| | |||||
* | Add mbe expand limit and poision macro set | Edwin Cheng | 2019-04-22 | 1 | -0/+7 |
| | |||||
* | Add more information on parse_macro fail | Edwin Cheng | 2019-04-21 | 1 | -10/+27 |
| | |||||
* | Fix bugs | Edwin Cheng | 2019-04-20 | 1 | -2/+22 |
| | |||||
* | migrate to salsas interning | Aleksey Kladov | 2019-04-09 | 1 | -68/+77 |
| | |||||
* | reduce visibility | Aleksey Kladov | 2019-03-26 | 1 | -10/+10 |
| | |||||
* | rename | Aleksey Kladov | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | simplify | Aleksey Kladov | 2019-03-26 | 1 | -3/+4 |
| | |||||
* | more type safety | Aleksey Kladov | 2019-03-26 | 1 | -20/+12 |
| | |||||
* | strongy-typed ids for macros | Aleksey Kladov | 2019-03-26 | 1 | -12/+6 |
| | |||||
* | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 1 | -111/+3 |
| | |||||
* | make macro parsing a query | Aleksey Kladov | 2019-03-26 | 1 | -3/+3 |
| | |||||
* | store macro def inside macro id | Aleksey Kladov | 2019-03-26 | 1 | -5/+19 |
| | | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def! | ||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -17/+11 |
| | |||||
* | Fixed typo in `Interner`’s name (`Intener`) | Vincent Esche | 2019-03-20 | 1 | -17/+17 |
| | |||||
* | remove old macro support | Aleksey Kladov | 2019-03-17 | 1 | -6/+19 |
| | |||||
* | rename ModuleId -> CrateModuleId | Aleksey Kladov | 2019-03-17 | 1 | -0/+1 |
| | |||||
* | remove lower module | Aleksey Kladov | 2019-03-17 | 1 | -7/+0 |
| | |||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 1 | -0/+6 |
| | |||||
* | add skeleton for macro-aware name resolutions | Aleksey Kladov | 2019-03-17 | 1 | -9/+18 |
| | |||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -3/+3 |
| | |||||
* | Handle impl generics in method calls | Florian Diebold | 2019-02-16 | 1 | -2/+1 |
| | |||||
* | Turn ImplBlock into a copy type just containing IDs | Florian Diebold | 2019-02-16 | 1 | -1/+4 |
| | | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions. | ||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -8/+8 |
| | |||||
* | remove query_definitions | Aleksey Kladov | 2019-02-11 | 1 | -3/+18 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -26/+8 |
| | |||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -5/+9 |
| | |||||
* | remove Option<SourceFileItemId> hack | Aleksey Kladov | 2019-01-26 | 1 | -3/+2 |
| | |||||
* | store syntax ptr in FileItems | Aleksey Kladov | 2019-01-26 | 1 | -19/+10 |
| | | | | we cache the tree in file_item query anyway | ||||
* | remove dead code | Aleksey Kladov | 2019-01-26 | 1 | -4/+0 |
| | |||||
* | rename source_file -> parse | Aleksey Kladov | 2019-01-26 | 1 | -6/+3 |
| | |||||
* | switch to positional enum variants | Aleksey Kladov | 2019-01-25 | 1 | -14/+1 |
| |