Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 6 | -48/+54 |
| | |||||
* | cache chalk queries | Aleksey Kladov | 2019-06-26 | 3 | -194/+240 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a significant speedup, because chalk will call these functions several times even withing a single revision. The only significant one here is `impl_data`, but I figured it might be good to cache others just for consistency. The results I get are: Before: from scratch: 16.081457952s no change: 15.846493ms trivial change: 352.95592ms comment change: 361.998408ms const change: 457.629212ms After: from scratch: 14.910610278s no change: 14.934647ms trivial change: 85.633023ms comment change: 96.433023ms const change: 171.543296ms Seems like a nice win! | ||||
* | Add comment | Shotaro Yamada | 2019-06-25 | 1 | -6/+8 |
| | |||||
* | Method resolution for slices | Shotaro Yamada | 2019-06-24 | 1 | -25/+36 |
| | |||||
* | Add firewall query to lang items | Aleksey Kladov | 2019-06-19 | 3 | -17/+38 |
| | | | | | With an intermediate query, changing one module won't cause reparsing of all modules | ||||
* | rename XSignature -> XData | Aleksey Kladov | 2019-06-18 | 6 | -59/+55 |
| | |||||
* | Add test for autoderef infinite recursion | Florian Diebold | 2019-06-16 | 1 | -0/+25 |
| | |||||
* | Simplifications / cleanup from review | Florian Diebold | 2019-06-16 | 7 | -38/+31 |
| | |||||
* | Some more cleanup | Florian Diebold | 2019-06-15 | 1 | -4/+4 |
| | |||||
* | Check that Deref has the right number of parameters | Florian Diebold | 2019-06-15 | 1 | -2/+7 |
| | |||||
* | Somewhat handle variables in the derefed type, and add another test | Florian Diebold | 2019-06-15 | 3 | -5/+61 |
| | |||||
* | Implement * operation using Deref trait | Florian Diebold | 2019-06-15 | 1 | -3/+5 |
| | |||||
* | Implement autoderef using the Deref trait | Florian Diebold | 2019-06-15 | 8 | -44/+149 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | Add basic infrastructure for assoc type projection | Florian Diebold | 2019-06-15 | 7 | -21/+188 |
| | |||||
* | Add test for Deref | Florian Diebold | 2019-06-15 | 1 | -0/+29 |
| | |||||
* | check for cancellation when executing queries | Aleksey Kladov | 2019-06-12 | 4 | -4/+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. | ||||
* | move docs under code model | Aleksey Kladov | 2019-06-11 | 4 | -4/+4 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | minor formatting | Aleksey Kladov | 2019-06-11 | 1 | -4/+0 |
| | |||||
* | remove unneded From(..) impl | Aleksey Kladov | 2019-06-11 | 4 | -37/+21 |
| | |||||
* | move source to a seaparate file | Aleksey Kladov | 2019-06-11 | 3 | -121/+125 |
| | |||||
* | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 9 | -57/+11 |
| | |||||
* | use Source for module, part 2 | Aleksey Kladov | 2019-06-11 | 2 | -3/+3 |
| | |||||
* | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 4 | -19/+16 |
| | |||||
* | use Source for StructField | Aleksey Kladov | 2019-06-11 | 2 | -3/+10 |
| | |||||
* | use Source for MacroDef | Aleksey Kladov | 2019-06-11 | 2 | -6/+11 |
| | |||||
* | use Source for impl block | Aleksey Kladov | 2019-06-11 | 4 | -14/+17 |
| | |||||
* | use Source for Trait | Aleksey Kladov | 2019-06-11 | 4 | -12/+23 |
| | |||||
* | use Source for TypeAlias | Aleksey Kladov | 2019-06-11 | 4 | -5/+12 |
| | |||||
* | use Source for statics and consts | Aleksey Kladov | 2019-06-11 | 3 | -20/+30 |
| | |||||
* | use Source for Function | Aleksey Kladov | 2019-06-11 | 6 | -13/+21 |
| | |||||
* | Introduce HasSource trait | Aleksey Kladov | 2019-06-11 | 2 | -1/+27 |
| | |||||
* | use Source more | Aleksey Kladov | 2019-06-11 | 5 | -21/+17 |
| | |||||
* | introduce Source struct | Aleksey Kladov | 2019-06-11 | 4 | -12/+19 |
| | |||||
* | use single version of either in hir | Aleksey Kladov | 2019-06-10 | 5 | -66/+73 |
| | |||||
* | remove some hacks from nameresolution for macros | Aleksey Kladov | 2019-06-08 | 7 | -66/+68 |
| | |||||
* | somewhat better name | Aleksey Kladov | 2019-06-08 | 4 | -22/+29 |
| | |||||
* | add a fixme | Aleksey Kladov | 2019-06-08 | 2 | -2/+4 |
| | |||||
* | one macro def should be enough | Aleksey Kladov | 2019-06-08 | 4 | -27/+21 |
| | |||||
* | make documenation a query | Aleksey Kladov | 2019-06-08 | 3 | -66/+62 |
| | |||||
* | make Docs handing more ideomatic | Aleksey Kladov | 2019-06-08 | 2 | -6/+5 |
| | |||||
* | Move docs to dedicated module | Aleksey Kladov | 2019-06-08 | 2 | -69/+70 |
| | |||||
* | [#1083] Try block syntax: fix tests | Andrey Tkachenko | 2019-06-06 | 1 | -1/+0 |
| | |||||
* | [#1083] Try block syntax | Andrey Tkachenko | 2019-06-06 | 2 | -1/+15 |
| | |||||
* | fix: clean up warnings | csmoe | 2019-06-06 | 1 | -2/+2 |
| | | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63 | ||||
* | 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::or_fun_call | Alan Du | 2019-06-04 | 4 | -9/+14 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 7 | -15/+11 |
| | |||||
* | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 1 | -5/+2 |
| |