Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify entry API usage | Jonas Schievink | 2020-06-30 | 1 | -21/+12 | |
| | ||||||
* | Reorder imports | Jonas Schievink | 2020-06-30 | 1 | -1/+2 | |
| | ||||||
* | Split namespace maps in `ItemScope` | Jonas Schievink | 2020-06-30 | 1 | -34/+79 | |
| | | | | Reduces memory usage of the CrateDefMap query by ~130 MB on r-a. | |||||
* | Cleanup changes leftover from previous tracking attempt | Paul Daniel Faria | 2020-06-27 | 1 | -14/+16 | |
| | ||||||
* | Remove track_parent and parent_map, replace with simple walk in missign ↵ | Paul Daniel Faria | 2020-06-27 | 2 | -272/+98 | |
| | | | | unsafe validator | |||||
* | Fix issues caused during rebase | Paul Daniel Faria | 2020-06-27 | 1 | -45/+63 | |
| | ||||||
* | unsafe: Clean up, improve tracking, add debug_assert | Paul Daniel Faria | 2020-06-27 | 2 | -81/+158 | |
| | | | | | | Move unsafe_expressions to unsafe_validation.rs, replace vec tracking of child exprs with inline macro, add debug assert to ensure tracked children match walked children exactly | |||||
* | Track expr parents during lowering, use parent map when checking if unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 2 | -88/+165 | |
| | | | | exprs are within unsafe blocks | |||||
* | Rename Expr::UnsafeBlock to Expr::Unsafe | Paul Daniel Faria | 2020-06-27 | 2 | -3/+3 | |
| | ||||||
* | Track unsafe blocks, don't trigger missing unsafe diagnostic when unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 2 | -2/+9 | |
| | | | | exprs within unsafe block | |||||
* | Merge #5033 | bors[bot] | 2020-06-27 | 3 | -20/+198 | |
|\ | | | | | | | | | | | | | | | 5033: Order of glob imports should not affect import shadowing r=Nashenas88 a=Nashenas88 Fixes #5032 Co-authored-by: Paul Daniel Faria <[email protected]> | |||||
| * | Replace simple is_named with matches macro | Paul Daniel Faria | 2020-06-27 | 1 | -10/+1 | |
| | | ||||||
| * | Remove comment that's no longer valid | Paul Daniel Faria | 2020-06-26 | 1 | -2/+0 | |
| | | ||||||
| * | Split glob import map to per-ns, switch ExprCollector to use a simpler push_res | Paul Daniel Faria | 2020-06-26 | 3 | -33/+64 | |
| | | ||||||
| * | Track import type outside of , use enum rather than bool to improve readability | Paul Daniel Faria | 2020-06-25 | 4 | -40/+73 | |
| | | ||||||
| * | Revert resolution of all glob imports first, replace with tracking of glob ↵ | Paul Daniel Faria | 2020-06-25 | 4 | -49/+119 | |
| | | | | | | | | imports and shadowing when more specific | |||||
| * | Order of glob imports should not affect import shadowing | Paul Daniel Faria | 2020-06-25 | 2 | -16/+71 | |
| | | ||||||
* | | 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 | |
| |