Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Basic Support Macro 2.0 | Edwin Cheng | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | use the included file as the source of expanded include macro | Yilin Chen | 2021-03-21 | 1 | -1/+22 |
| | | | | Signed-off-by: Yilin Chen <[email protected]> | ||||
* | Return `Either` from `MacroDefId::ast_id` | Jonas Schievink | 2021-03-19 | 1 | -4/+5 |
| | |||||
* | Rename derive-specific APIs | Jonas Schievink | 2021-03-19 | 1 | -4/+4 |
| | |||||
* | Store an `AstId` for procedural macros | Jonas Schievink | 2021-03-18 | 1 | -2/+2 |
| | |||||
* | Make MacroDefId's `AstId` mandatory when possible | Jonas Schievink | 2021-03-18 | 1 | -7/+17 |
| | |||||
* | remove uselessly wrapped ?s. (clippy::meedless_question_mark | Matthias Krüger | 2021-03-17 | 1 | -2/+2 |
| | | | | | | | | let x = Some(3); let y = Some(x?); can just be: let y = x | ||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -1/+4 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Remove useless wrapper | Aleksey Kladov | 2021-01-15 | 1 | -4/+4 |
| | |||||
* | Revert "Proper handling $crate and local_inner_macros" | Jonas Schievink | 2021-01-03 | 1 | -4/+7 |
| | |||||
* | Introduce HygieneFrames for proper token hyginee | Edwin Cheng | 2021-01-02 | 1 | -7/+4 |
| | |||||
* | Store invocation site for eager macros | Jonas Schievink | 2020-12-22 | 1 | -14/+13 |
| | |||||
* | Make macro def krate mandatory | Jonas Schievink | 2020-12-15 | 1 | -7/+1 |
| | | | | Refactors builtin derive support to go through proper name resolution | ||||
* | Basic support for decl macros 2.0 | Jonas Schievink | 2020-12-15 | 1 | -2/+5 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -1/+1 |
| | |||||
* | Fix logic for determining macro calls | Jonas Schievink | 2020-12-08 | 1 | -9/+7 |
| | | | | | | I believe this currently goes back all the way to the initial user-written call, but that seems better than the current broken behavior. | ||||
* | Make `original_range` a method on `InFile<&SyntaxNode>` | Jonas Schievink | 2020-12-08 | 1 | -3/+69 |
| | |||||
* | Fix proc macro token mapping | Jonas Schievink | 2020-12-03 | 1 | -6/+16 |
| | |||||
* | Publish diagnostics for macro expansion errors | Jonas Schievink | 2020-11-27 | 1 | -1/+1 |
| | |||||
* | Use `ExpandResult` instead of `MacroResult` | Jonas Schievink | 2020-11-26 | 1 | -0/+2 |
| | | | | `MacroResult` is redundant | ||||
* | Rename `parse_macro` to `parse_macro_expansion` | Jonas Schievink | 2020-11-24 | 1 | -1/+1 |
| | | | | This does not parse macros, it expands a macro and parses the *result* | ||||
* | hir_expand: propagate expansion errors | Jonas Schievink | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Rename `CustomDerive` to `ProcMacro` | Jonas Schievink | 2020-09-18 | 1 | -1/+1 |
| | | | | | It handles fn-like macros too, and will handle attribute macros in the future | ||||
* | Rename ra_hir_expand -> hir_expand | Aleksey Kladov | 2020-08-13 | 1 | -0/+453 |