Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #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 |
|/ | |||||
* | Merge #1360 | bors[bot] | 2019-06-01 | 6 | -9/+55 |
|\ | | | | | | | | | | | | | | | | | | | 1360: Improve goto definition for MBE r=matklad a=edwin0cheng This PR improve the macro resolution for goto definition and expression macro invocation by using proper path resolution for external macros. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 6 | -9/+55 |
| | | |||||
* | | Merge #1359 | bors[bot] | 2019-06-01 | 2 | -3/+5 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1359: don't poison mutex around chalk r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | don't poison mutex around chalk | Aleksey Kladov | 2019-06-01 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We use panics for cancellation, so we could trigger panic while holding the solver. std::sync::Mutex will be poisoned as a result, which and all further attempts to use solver (from other threads) will panic as well. This commit switches to parking_lot::Mutex which just unlocks on panic. | ||||
* | | | Merge #1358 | bors[bot] | 2019-06-01 | 7 | -91/+94 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 1358: apply profile filter to top-level entries only r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | apply profile filter to top-level entries only | Aleksey Kladov | 2019-06-01 | 1 | -7/+6 |
| | | | |||||
| * | | rename | Aleksey Kladov | 2019-06-01 | 6 | -80/+86 |
| | | | |||||
| * | | move subs inside | Aleksey Kladov | 2019-06-01 | 1 | -4/+2 |
|/ / |