Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make find_inner_item fallible | Jonas Schievink | 2020-06-26 | 2 | -14/+28 |
| | | | | | The ItemTree does not collect incomplete items, such as traits with no name, so the (malformed) AST node might have no corresponding item. | ||||
* | find_inner_item: more detailed panic message | Jonas Schievink | 2020-06-26 | 1 | -1/+7 |
| | |||||
* | Simplify inner item lowering | Jonas Schievink | 2020-06-26 | 1 | -61/+30 |
| | |||||
* | Make VFS join methods fallible | Jonas Schievink | 2020-06-26 | 1 | -0/+16 |
| | |||||
* | Use ItemTree to answer enum_data query | Jonas Schievink | 2020-06-25 | 1 | -7/+19 |
| | |||||
* | Use IdRange for variants | Jonas Schievink | 2020-06-25 | 3 | -9/+29 |
| | |||||
* | Generalize FieldIds -> IdRange<T> | Jonas Schievink | 2020-06-25 | 2 | -13/+14 |
| | |||||
* | adt.rs: fetch struct/union data from item tree | Jonas Schievink | 2020-06-25 | 1 | -19/+49 |
| | |||||
* | Collect field/variant attrs in ItemTree | Jonas Schievink | 2020-06-25 | 6 | -20/+40 |
| | |||||
* | Allow iterating fields in the ItemTree | Jonas Schievink | 2020-06-25 | 3 | -10/+28 |
| | |||||
* | Reorder items | Jonas Schievink | 2020-06-24 | 1 | -76/+76 |
| | |||||
* | Clean up and fix inner item collection a bit | Jonas Schievink | 2020-06-24 | 2 | -7/+38 |
| | |||||
* | Use a HashMap instead of Vec | Jonas Schievink | 2020-06-24 | 1 | -8/+9 |
| | | | | | This is no longer enforcing stack discipline, so a Vec isn't necessary or helpful | ||||
* | Remove unneeded HirFileId argument | Jonas Schievink | 2020-06-24 | 2 | -7/+5 |
| | |||||
* | Shrink arenas after building ItemTree | Jonas Schievink | 2020-06-24 | 1 | -0/+46 |
| | |||||
* | ItemTree: Use more boxed slices | Jonas Schievink | 2020-06-24 | 4 | -15/+22 |
| | |||||
* | Don't allocate empty generics | Jonas Schievink | 2020-06-24 | 4 | -40/+78 |
| | |||||
* | Don't allocate common visibilities | Jonas Schievink | 2020-06-24 | 5 | -75/+142 |
| | |||||
* | Remove file id from item tree | Jonas Schievink | 2020-06-24 | 3 | -31/+25 |
| | | | | It's not needed, and `source` is only used by tests anyways | ||||
* | Slightly reduce ItemTree memory footprint | Jonas Schievink | 2020-06-24 | 3 | -53/+68 |
| | |||||
* | Merge item tree traits | Jonas Schievink | 2020-06-24 | 3 | -21/+16 |
| | | | | | The Source trait isn't needed anymore since we no longer merge extern crate items with use items. | ||||
* | Generate ModItem via macro | Jonas Schievink | 2020-06-24 | 1 | -105/+60 |
| | |||||
* | Address more comments | Jonas Schievink | 2020-06-24 | 2 | -5/+4 |
| | |||||
* | if let else -> match | Jonas Schievink | 2020-06-24 | 1 | -19/+21 |
| | |||||
* | Unify and test attribute handling | Jonas Schievink | 2020-06-24 | 5 | -33/+227 |
| | |||||
* | Collect inner items in expression macros | Jonas Schievink | 2020-06-24 | 4 | -14/+44 |
| | |||||
* | Make generics and attr queries use ItemTree | Jonas Schievink | 2020-06-24 | 5 | -21/+79 |
| | | | | Now it's fast | ||||
* | Record HirFileId's in profiler | Jonas Schievink | 2020-06-24 | 1 | -1/+1 |
| | |||||
* | Make remaining item data queries use item tree | Jonas Schievink | 2020-06-24 | 5 | -152/+90 |
| | |||||
* | draw the rest of the owl | Jonas Schievink | 2020-06-24 | 10 | -395/+928 |
| | |||||
* | ItemTree: Make clonable and add AST access | Jonas Schievink | 2020-06-24 | 1 | -15/+69 |
| | |||||
* | Lower generics | Jonas Schievink | 2020-06-24 | 3 | -26/+83 |
| | |||||
* | ItemTree: use a newtyped ID | Jonas Schievink | 2020-06-24 | 3 | -53/+130 |
| | |||||
* | Move ItemTree lowering into its own module | Jonas Schievink | 2020-06-24 | 2 | -505/+513 |
| | |||||
* | Remove now-broken incremental test | Jonas Schievink | 2020-06-24 | 1 | -38/+0 |
| | | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change | ||||
* | Remove raw item query | Jonas Schievink | 2020-06-24 | 3 | -488/+1 |
| | |||||
* | Fix test | Jonas Schievink | 2020-06-24 | 2 | -3/+10 |
| | |||||
* | Move collector | Jonas Schievink | 2020-06-24 | 1 | -108/+193 |
| | |||||
* | Draw the rest of the owl | Jonas Schievink | 2020-06-24 | 1 | -27/+108 |
| | |||||
* | collector changes WIP | Jonas Schievink | 2020-06-24 | 3 | -29/+34 |
| | |||||
* | lower traits | Jonas Schievink | 2020-06-24 | 2 | -29/+207 |
| | |||||
* | Hook up query, add impls, lower moar | Jonas Schievink | 2020-06-24 | 3 | -41/+128 |
| | |||||
* | Start item tree | Aleksey Kladov | 2020-06-24 | 3 | -3/+517 |
| | |||||
* | Fix formatting issue with glob shadow test | Paul Daniel Faria | 2020-06-24 | 1 | -17/+17 |
| | |||||
* | Use a macro in push_res to simplify code, simplify glob_shadowed_def assertion | Paul Daniel Faria | 2020-06-24 | 2 | -160/+47 |
| | |||||
* | Account for updated module ids when determining whether a resolution is ↵ | Paul Daniel Faria | 2020-06-24 | 2 | -9/+178 |
| | | | | "changed" | ||||
* | Use only one code-path for parsing fixtures | Aleksey Kladov | 2020-06-23 | 1 | -44/+49 |
| | | | | | This removes leading newlines everywhere, shifting all ranges in tests by one | ||||
* | Drop rarely used fixture functionality | Aleksey Kladov | 2020-06-23 | 1 | -25/+0 |
| | |||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 3 | -7/+11 |
| | |||||
* | Handle bindings after @ in patterns | Jonas Schievink | 2020-06-21 | 1 | -10/+24 |
| |