Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename `textual_macro` -> `legacy_macro` | uHOOCCOOHu | 2019-09-08 | 1 | -20/+17 |
| | | | | Add comments | ||||
* | Revert "Replace with immutable map to avoid heavy cloning" | uHOOCCOOHu | 2019-09-08 | 1 | -3/+0 |
| | | | | | | This reverts commit 2c494eb803c88ef5d23607c3b156fce60c2b8076. See: https://github.com/rust-analyzer/rust-analyzer/pull/1784#issuecomment-529119924 | ||||
* | Replace with immutable map to avoid heavy cloning | uHOOCCOOHu | 2019-09-08 | 1 | -0/+3 |
| | |||||
* | Resolve textual scoped macros inside item | uHOOCCOOHu | 2019-09-08 | 1 | -7/+9 |
| | |||||
* | Support textual scoped macros | uHOOCCOOHu | 2019-09-08 | 1 | -32/+52 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 1 | -3/+4 |
| | |||||
* | don't cycle when processing macros from prelude in prelude | Aleksey Kladov | 2019-09-07 | 1 | -2/+4 |
| | |||||
* | Merge #1771 | bors[bot] | 2019-09-05 | 1 | -15/+30 |
|\ | | | | | | | | | | | | | | | | | | | | | 1771: Further tweak for macro_use on extern crate r=matklad a=uHOOCCOOHu Some more tweaks to #1743 to behave more like `rustc` 1. Hoist macros from `#[macro_use] extern crate`, so that they can be used before `extern crate`. 2. Implicit `#[macro_use]` for `prelude` if exists Co-authored-by: uHOOCCOOHu <[email protected]> | ||||
| * | Hoist macros from extern crate with macro_use | uHOOCCOOHu | 2019-09-05 | 1 | -11/+17 |
| | | |||||
| * | Consider prelude to be `macro_use` | uHOOCCOOHu | 2019-09-05 | 1 | -4/+13 |
| | | |||||
* | | move mod resolution to a separate file | Aleksey Kladov | 2019-09-05 | 1 | -183/+7 |
|/ | |||||
* | Let `macro_use` bypass module scope | uHOOCCOOHu | 2019-09-05 | 1 | -20/+38 |
| | |||||
* | Fix import strategy of `macro_use` and its test | uHOOCCOOHu | 2019-09-02 | 1 | -9/+12 |
| | |||||
* | Support resolution of `#[macro_use] extern crate` | uHOOCCOOHu | 2019-08-31 | 1 | -0/+17 |
| | |||||
* | Resolve out of line modules inside inline module with attribute path | Alexander Andreev | 2019-08-03 | 1 | -12/+55 |
| | | | | | Fixed #1510 Fixed #1529 | ||||
* | Fixed request changes. | Alexander Andreev | 2019-07-29 | 1 | -9/+19 |
| | |||||
* | Added resolve modules inside inline module | Alexander Andreev | 2019-07-29 | 1 | -39/+109 |
| | | | | #1510 | ||||
* | Fixed request comments | Alexander Andreev | 2019-07-14 | 1 | -7/+13 |
| | |||||
* | Fixed comments | Alexander Andreev | 2019-07-13 | 1 | -2/+2 |
| | |||||
* | More resolution modules with attribute path | Alexander Andreev | 2019-07-13 | 1 | -4/+16 |
| | | | | #1211 | ||||
* | cargo format | Muhammad Mominul Huque | 2019-07-07 | 1 | -2/+2 |
| | |||||
* | Constify KnownName's | Muhammad Mominul Huque | 2019-07-07 | 1 | -2/+3 |
| | |||||
* | Added support attribute path in resolusion module fn | Alexander Andreev | 2019-07-06 | 1 | -5/+24 |
| | |||||
* | Added extract path attribute for current module | Alexander Andreev | 2019-07-06 | 1 | -2/+2 |
| | | | | #1211 | ||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -9/+5 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -14/+11 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 1 | -10/+7 |
| | |||||
* | use single version of either in hir | Aleksey Kladov | 2019-06-10 | 1 | -26/+20 |
| | |||||
* | remove some hacks from nameresolution for macros | Aleksey Kladov | 2019-06-08 | 1 | -10/+28 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -6/+9 |
| | |||||
* | add cacellation checks to expensive queries | Aleksey Kladov | 2019-05-29 | 1 | -0/+1 |
| | |||||
* | Use ItemOrMacro in item resolution | Edwin Cheng | 2019-05-26 | 1 | -58/+126 |
| | |||||
* | Put back unexpaned_macros after resolve | Edwin Cheng | 2019-05-26 | 1 | -0/+3 |
| | |||||
* | add union to code_model | Aleksey Kladov | 2019-05-23 | 1 | -1/+5 |
| | |||||
* | store macro kind in HirFileId | Aleksey Kladov | 2019-05-14 | 1 | -2/+2 |
| | |||||
* | Sidestep two-phase borrow violation signaled by ↵ | Felix S. Klock II | 2019-04-29 | 1 | -2/+3 |
| | | | | | | mutable_borrow_reservation_conflict. See rust-lang/rust#59159 for further information/discussion. | ||||
* | Introduced resolve_macro_call on resolver | Lenard Pratt | 2019-04-23 | 1 | -1/+2 |
| | | | | | | changed to manual expansion fix for nested macros | ||||
* | Added macro resolution and expansion | Lenard Pratt | 2019-04-22 | 1 | -3/+5 |
| | |||||
* | Change macro stack monitor test to func ptr based | Edwin Cheng | 2019-04-22 | 1 | -40/+25 |
| | |||||
* | Add mbe expand limit and poision macro set | Edwin Cheng | 2019-04-22 | 1 | -14/+172 |
| | |||||
* | Fix bugs | Edwin Cheng | 2019-04-20 | 1 | -4/+17 |
| | |||||
* | more type safety | Aleksey Kladov | 2019-03-26 | 1 | -11/+12 |
| | |||||
* | strongy-typed ids for macros | Aleksey Kladov | 2019-03-26 | 1 | -16/+8 |
| | |||||
* | add typed ids | Aleksey Kladov | 2019-03-26 | 1 | -12/+10 |
| | |||||
* | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 1 | -2/+2 |
| | |||||
* | store macro def inside macro id | Aleksey Kladov | 2019-03-26 | 1 | -62/+31 |
| | | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def! | ||||
* | cleanup | Aleksey Kladov | 2019-03-25 | 1 | -3/+6 |
| | |||||
* | switch modules to new diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -34/+29 |
| | |||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -8/+5 |
| |