Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: clean up warnings | csmoe | 2019-06-06 | 3 | -6/+6 |
| | | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63 | ||||
* | Merge #1378 | bors[bot] | 2019-06-05 | 1 | -72/+73 |
|\ | | | | | | | | | | | | | | | 1378: :arrow_up: deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | :arrow_up: deps | Aleksey Kladov | 2019-06-05 | 1 | -72/+73 |
|/ | |||||
* | Merge #1374 | bors[bot] | 2019-06-04 | 53 | -229/+227 |
|\ | | | | | | | | | | | | | | | | | | | 1374: Implement `cargo lint` and fix some clippy errors r=alanhdu a=alanhdu This creates a `cargo lint` command that runs clippy with certain lints disabled. I've also gone ahead and fixed some of the lint errors, although there are many more still to go. cc #848 Co-authored-by: Alan Du <[email protected]> | ||||
| * | Allow clippy::redundant_pattern_matching | Alan Du | 2019-06-04 | 1 | -2/+3 |
| | | |||||
| * | Fix clippy::iter_cloned_collect | Alan Du | 2019-06-04 | 1 | -4/+2 |
| | | |||||
| * | Fix clippy::option_map_or_none | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix clippy::while_let_loop | Alan Du | 2019-06-04 | 1 | -15/+11 |
| | | |||||
| * | Fix clippy::or_fun_call | Alan Du | 2019-06-04 | 12 | -26/+29 |
| | | |||||
| * | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 16 | -59/+49 |
| | | |||||
| * | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 4 | -9/+6 |
| | | |||||
| * | Fix clippy::new_without_default | Alan Du | 2019-06-04 | 1 | -0/+6 |
| | | |||||
| * | Fix clippy::assign_op_pattern | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix clippy::useless_format | Alan Du | 2019-06-04 | 1 | -2/+2 |
| | | |||||
| * | Fix clippy::into_iter_on_ref | Alan Du | 2019-06-04 | 3 | -3/+3 |
| | | |||||
| * | Fix clippy::len_zero | Alan Du | 2019-06-04 | 3 | -5/+5 |
| | | |||||
| * | Fix clippy::unused_mut | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix clippy::unnecessary_mut_passed | Alan Du | 2019-06-04 | 1 | -7/+2 |
| | | |||||
| * | Fix clippy::ptr_arg | Alan Du | 2019-06-04 | 2 | -3/+3 |
| | | |||||
| * | Fix clippy::if_same_then_else | Alan Du | 2019-06-04 | 1 | -0/+1 |
| | | |||||
| * | Fix clippy::expect_fun_call | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix clippy::match_ref_pats | Alan Du | 2019-06-04 | 2 | -9/+9 |
| | | |||||
| * | Fix clippy::needless_return | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix clippy::single_match | Alan Du | 2019-06-04 | 9 | -76/+51 |
| | | |||||
| * | Fix clippy::clone_double_ref | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix clippy::match_bool | Alan Du | 2019-06-04 | 1 | -4/+2 |
| | | |||||
| * | Allow clippy::map_clone | Alan Du | 2019-06-04 | 1 | -2/+6 |
| | | | | | | | | We should turn it on after Iterator::copied stabilizes | ||||
| * | Allow clippy::needless_pass_by_value | Alan Du | 2019-06-04 | 1 | -1/+2 |
| | | |||||
| * | Implement cargo lint to run clippy | Alan Du | 2019-06-04 | 3 | -1/+34 |
| | | |||||
* | | Merge #1376 | bors[bot] | 2019-06-04 | 1 | -4/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1376: fix debug scopes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | fix debug scopes | Aleksey Kladov | 2019-06-04 | 1 | -4/+4 |
|/ / | |||||
* | | Merge #1375 | bors[bot] | 2019-06-04 | 2 | -6/+7 |
|\ \ | |/ |/| | | | | | | | | | | | 1375: switch to panic-safe salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | switch to panic-safe salsa | Aleksey Kladov | 2019-06-04 | 2 | -6/+7 |
|/ | |||||
* | Merge #1373 | bors[bot] | 2019-06-03 | 3 | -4/+36 |
|\ | | | | | | | | | | | | | | | 1373: add couple of debug utils r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | add couple of debug utils | Aleksey Kladov | 2019-06-03 | 3 | -4/+36 |
|/ | |||||
* | Merge #1369 | bors[bot] | 2019-06-02 | 5 | -33/+61 |
|\ | | | | | | | | | | | | | | | 1369: don't cache parses twice r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | don't cache parses twice | Aleksey Kladov | 2019-06-02 | 5 | -33/+61 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge #1368 | bors[bot] | 2019-06-02 | 3 | -26/+28 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 1368: Store referece instead of full token tree in tokenbuffer r=matklad a=edwin0cheng This PR try to minimize the memory allocation in converting `SyntaxNode` to `TokenTree` by using reference isnteead of full token tree in `TokenBuffer`. Note that the final goal is replace `TokenTree` with TokenBuffer such that there is no conversion between them. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | unnecessary paranthesis | Edwin Cheng | 2019-06-02 | 1 | -1/+1 |
| | | |||||
| * | Store referece in tokenbuffer | Edwin Cheng | 2019-06-02 | 3 | -26/+28 |
| | | |||||
* | | Merge #1367 | bors[bot] | 2019-06-02 | 1 | -0/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1367: collect macro queries r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | collect macro queries | Aleksey Kladov | 2019-06-02 | 1 | -0/+3 |
|/ / | |||||
* | | Merge #1362 | bors[bot] | 2019-06-02 | 17 | -98/+186 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1362: Introduce AST database r=matklad a=matklad The idea here is to separate fragile bits which look into the syntax directly from robust bits which are safe across reparses. This uses the new `salsa::requires` featue Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | add AstDatabase | Aleksey Kladov | 2019-06-02 | 17 | -98/+186 |
|/ / | |||||
* | | Merge #1366 | bors[bot] | 2019-06-02 | 1 | -0/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1366: collect types and bodies r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | collect types and bodies | Aleksey Kladov | 2019-06-01 | 1 | -0/+4 |
| | | | |||||
* | | | Merge #1363 | bors[bot] | 2019-06-01 | 4 | -19/+11 |
|\| | | |/ |/| | | | | | | | | | | | 1363: some work on memory r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | collect impl source maps | Aleksey Kladov | 2019-06-01 | 3 | -11/+2 |
| | | |||||
| * | don't cache ast_id_to_node | Aleksey Kladov | 2019-06-01 | 2 | -1/+1 |
| | | |||||
| * | show macro expanded trees in the stats as well | Aleksey Kladov | 2019-06-01 | 1 | -7/+8 |
|/ |