aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
Commit message (Collapse)AuthorAgeFilesLines
...
* put source maps first for better statsAleksey Kladov2019-06-301-6/+6
|
* print memory usage for queriesAleksey Kladov2019-06-301-0/+4
|
* Complete associated methods on enums (and unions) as wellFlorian Diebold2019-06-291-0/+4
|
* make sure that CrateDefMap is independent from syntaxAleksey Kladov2019-06-266-48/+54
|
* cache chalk queriesAleksey Kladov2019-06-263-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 commentShotaro Yamada2019-06-251-6/+8
|
* Method resolution for slicesShotaro Yamada2019-06-241-25/+36
|
* Add firewall query to lang itemsAleksey Kladov2019-06-193-17/+38
| | | | | With an intermediate query, changing one module won't cause reparsing of all modules
* rename XSignature -> XDataAleksey Kladov2019-06-186-59/+55
|
* Add test for autoderef infinite recursionFlorian Diebold2019-06-161-0/+25
|
* Simplifications / cleanup from reviewFlorian Diebold2019-06-167-38/+31
|
* Some more cleanupFlorian Diebold2019-06-151-4/+4
|
* Check that Deref has the right number of parametersFlorian Diebold2019-06-151-2/+7
|
* Somewhat handle variables in the derefed type, and add another testFlorian Diebold2019-06-153-5/+61
|
* Implement * operation using Deref traitFlorian Diebold2019-06-151-3/+5
|
* Implement autoderef using the Deref traitFlorian Diebold2019-06-158-44/+149
| | | | - add support for other lang item targets, since we need the Deref lang item
* Add basic infrastructure for assoc type projectionFlorian Diebold2019-06-157-21/+188
|
* Add test for DerefFlorian Diebold2019-06-151-0/+29
|
* check for cancellation when executing queriesAleksey Kladov2019-06-124-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 modelAleksey Kladov2019-06-114-4/+4
|
* fix compilationAleksey Kladov2019-06-111-1/+1
|
* minor formattingAleksey Kladov2019-06-111-4/+0
|
* remove unneded From(..) implAleksey Kladov2019-06-114-37/+21
|
* move source to a seaparate fileAleksey Kladov2019-06-113-121/+125
|
* remove inherent source implsAleksey Kladov2019-06-119-57/+11
|
* use Source for module, part 2Aleksey Kladov2019-06-112-3/+3
|
* use Source for module, part 1Aleksey Kladov2019-06-114-19/+16
|
* use Source for StructFieldAleksey Kladov2019-06-112-3/+10
|
* use Source for MacroDefAleksey Kladov2019-06-112-6/+11
|
* use Source for impl blockAleksey Kladov2019-06-114-14/+17
|
* use Source for TraitAleksey Kladov2019-06-114-12/+23
|
* use Source for TypeAliasAleksey Kladov2019-06-114-5/+12
|
* use Source for statics and constsAleksey Kladov2019-06-113-20/+30
|
* use Source for FunctionAleksey Kladov2019-06-116-13/+21
|
* Introduce HasSource traitAleksey Kladov2019-06-112-1/+27
|
* use Source moreAleksey Kladov2019-06-115-21/+17
|
* introduce Source structAleksey Kladov2019-06-114-12/+19
|
* use single version of either in hirAleksey Kladov2019-06-105-66/+73
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-087-66/+68
|
* somewhat better nameAleksey Kladov2019-06-084-22/+29
|
* add a fixmeAleksey Kladov2019-06-082-2/+4
|
* one macro def should be enoughAleksey Kladov2019-06-084-27/+21
|
* make documenation a queryAleksey Kladov2019-06-083-66/+62
|
* make Docs handing more ideomaticAleksey Kladov2019-06-082-6/+5
|
* Move docs to dedicated moduleAleksey Kladov2019-06-082-69/+70
|
* [#1083] Try block syntax: fix testsAndrey Tkachenko2019-06-061-1/+0
|
* [#1083] Try block syntaxAndrey Tkachenko2019-06-062-1/+15
|
* fix: clean up warningscsmoe2019-06-061-2/+2
| | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63
* Fix clippy::iter_cloned_collectAlan Du2019-06-041-4/+2
|
* Fix clippy::option_map_or_noneAlan Du2019-06-041-1/+1
|