aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src
Commit message (Expand)AuthorAgeFilesLines
* Rewrite `#[derive]` removal to be based on ASTJonas Schievink2021-05-104-107/+112
* Move `AttrId` back into `hir_def`Jonas Schievink2021-05-102-6/+3
* Merge #8776bors[bot]2021-05-094-63/+84
|\
| * Precompute macro fragment kindJonas Schievink2021-05-094-63/+84
* | Escape characters in builtin macros correctlyEdwin Cheng2021-05-092-4/+4
|/
* Merge #8280bors[bot]2021-05-061-1/+1
|\
| * Fix buildDawer2021-05-061-1/+1
* | Don't store call-site text offsets in hygiene infoJonas Schievink2021-05-061-22/+35
|/
* Document expansion queriesAleksey Kladov2021-05-041-0/+21
* simplify macro expansion codeAleksey Kladov2021-05-041-27/+17
* make illegal states unrepresentableAleksey Kladov2021-05-043-49/+48
* CleanupsAleksey Kladov2021-05-041-139/+134
* Merge #8727bors[bot]2021-05-041-11/+11
|\
| * minor: use standard import styleAleksey Kladov2021-05-041-11/+11
* | Merge #8726bors[bot]2021-05-041-3/+3
|\|
| * internal: reduce visibilityAleksey Kladov2021-05-041-3/+3
* | minor: unconfuse myself about macro def vs macro rulesAleksey Kladov2021-05-041-0/+5
|/
* Merge #8586bors[bot]2021-04-191-9/+9
|\
| * Remove SyntaxRewriter usage in eager::eager_macro_recurLukas Wirth2021-04-191-9/+9
* | Merge #8462bors[bot]2021-04-192-0/+2
|\ \ | |/ |/|
| * hir_ty: Expand macros at type positioncynecx2021-04-172-0/+2
* | Expand `global_asm!` to nothingJonas Schievink2021-04-182-0/+11
|/
* Support macros in pattern positionJonas Schievink2021-04-111-0/+1
* Revert "Rewrite `#[derive]` removal to be based on AST"Jonas Schievink2021-04-104-92/+105
* Revert "Use `pub(crate)`"Jonas Schievink2021-04-101-5/+1
* Revert "Use `name![derive]`"Jonas Schievink2021-04-101-6/+2
* Use `name![derive]`Jonas Schievink2021-04-091-2/+6
* Use `pub(crate)`Jonas Schievink2021-04-091-1/+5
* Rewrite `#[derive]` removal to be based on ASTJonas Schievink2021-04-094-105/+92
* Store `#[derive]` attribute ID along macro invocJonas Schievink2021-04-092-3/+7
* Add `AttrId` to track attribute sourcesJonas Schievink2021-04-091-0/+3
* Use named fields in `MacroCallKind`Jonas Schievink2021-04-084-16/+18
* Update `OUT_DIR` diagnostic to match settingJonas Schievink2021-04-071-1/+1
* Make `ast_to_token_tree` infallibleJonas Schievink2021-04-043-13/+7
* Implement edition-dependent builtin `panic!` macroJonas Schievink2021-04-033-2/+26
* internal: document semantics for missing namesAleksey Kladov2021-03-311-0/+9
* Basic Support Macro 2.0Edwin Cheng2021-03-273-23/+41
* Merge #8201bors[bot]2021-03-271-17/+42
|\
| * Fix recursive macro statement expansionEdwin Cheng2021-03-251-17/+42
* | syntax: return owned string instead of leaking stringcynecx2021-03-261-2/+2
|/
* Merge #8134bors[bot]2021-03-213-26/+76
|\
| * use the included file as the source of expanded include macroYilin Chen2021-03-213-26/+76
* | use strip_prefix() instead of starts_with and slicing (clippy::manual_strip)Matthias Krüger2021-03-211-3/+2
* | remove more redundant clones (clippy::redundant_clone())Matthias Krüger2021-03-211-1/+1
|/
* Return `Either` from `MacroDefId::ast_id`Jonas Schievink2021-03-192-5/+6
* Rename derive-specific APIsJonas Schievink2021-03-192-5/+5
* Store an `AstId` for procedural macrosJonas Schievink2021-03-184-6/+6
* Make MacroDefId's `AstId` mandatory when possibleJonas Schievink2021-03-186-34/+39
* Create AstId for builtin_derive macro in testsJonas Schievink2021-03-181-13/+28
* Improve diagnostic when including nonexistent fileJonas Schievink2021-03-171-10/+11