aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand
AgeCommit message (Expand)AuthorFilesLines
2023-06-22expand: Merge arguments into onePierre-Emmanuel Patry2-5/+4
2023-06-22expand: Convert last statement to tail exprPierre-Emmanuel Patry2-10/+15
2023-06-22expand: Add tail expr expansionPierre-Emmanuel Patry1-2/+36
2023-06-22expand: Derive statementsArthur Cohen1-33/+101
2023-06-22Make MatchedFragmentContainer a tree-like structureOwen Avery4-78/+140
2023-06-20gccrs: Parse statement macros as statements.Matthew Jasper3-23/+13
2023-06-20gccrs: Parse semicolons in more cases for statement macrosMatthew Jasper1-11/+15
2023-06-15Remove direct error on macro rule count-related match failureOwen Avery1-7/+0
2023-06-13derive: Factor common fields inside the base visitorArthur Cohen6-9/+14
2023-06-08expand: Make to_derive argument constPierre-Emmanuel Patry2-2/+3
2023-06-08expand: Allow empty derive attributePierre-Emmanuel Patry1-1/+1
2023-06-08expand: Expand item level attribute proc macrosPierre-Emmanuel Patry2-4/+44
2023-06-08expand: Add in order trait expansionPierre-Emmanuel Patry2-201/+75
2023-06-08expand: Remove proc macro fragment from expanderPierre-Emmanuel Patry2-33/+0
2023-06-08expand: Move derive system to new onePierre-Emmanuel Patry4-79/+44
2023-06-08expand: Add derive proc macro draftPierre-Emmanuel Patry8-138/+369
2023-06-08expand: Add prc macro expander and registrationPierre-Emmanuel Patry4-4/+132
2023-06-08expand: Add procmacro loading functionPierre-Emmanuel Patry2-0/+98
2023-06-07Add error message when derive macro is invokedOwen Avery2-5/+8
2023-06-06Handle crate metavariableOwen Avery1-1/+7
2023-06-05derive: Add dummy builtin transcriber for builtin derive macros.Arthur Cohen2-0/+27
2023-06-02derive: Add proper derive(Clone) for unionsArthur Cohen1-2/+23
2023-06-02derive: Add #[derive(Copy)] builtinArthur Cohen3-0/+138
2023-06-01derive: Add #[derive(Clone)] for regular structsArthur Cohen1-3/+14
2023-06-01Properly match delimitersOwen Avery2-7/+14
2023-06-01expansion: Add base for deriving builtin macros (Clone, Copy...)Arthur Cohen8-57/+747
2023-06-01expand: Add missing copyright headersArthur Cohen2-0/+36
2023-05-30Avoid invalid metavariable substitutionsOwen Avery2-26/+32
2023-05-30Fix handling of single fragments in repetitionsOwen Avery1-17/+19
2023-05-18Handle keyword metavariablesOwen Avery1-9/+15
2023-05-17Add AST::AttrInputMacroOwen Avery4-0/+13
2023-05-15gccrs: Fix parsing of block expressions followed by `.`Matthew Jasper1-0/+2
2023-05-15ast: Remove ExprStmtWithBlock / ExprStmtWithoutBlock distinctionMatthew Jasper4-30/+4
2023-05-12Handle keywords in macro fragmentsOwen Avery1-1/+1
2023-05-05builtin: Cleanup handling of builtin macrosArthur Cohen2-56/+161
2023-05-05utils: Add bidirectional hashmap classArthur Cohen1-0/+1
2023-05-03Fix out of bounds indexing while expanding macros with repetitionOwen Avery1-3/+15
2023-04-17ast: Make AST::Kind an enum classSergey Bugaev1-1/+1
2023-04-14Unify AST::IfLetExprConseqIf{,Let} into AST::IfLetExprConseqElseOwen Avery4-109/+0
2023-04-12Unify AST::IfExprConseqIf{,Let} into AST::IfExprConseqElseOwen Avery4-93/+0
2023-04-05expand: Add outer attribute expansion on exprPierre-Emmanuel Patry1-4/+45
2023-04-05expand: Add builtin attribute identificationPierre-Emmanuel Patry2-5/+32
2023-04-05expand: Add call to outer attributes stubsPierre-Emmanuel Patry1-9/+45
2023-04-05expand: Add stub function for attribute expansionPierre-Emmanuel Patry2-0/+35
2023-04-05expand: Add inner attribute expansion stubsPierre-Emmanuel Patry2-2/+47
2023-04-05expand: Add derive expansion stubsPierre-Emmanuel Patry2-0/+73
2023-03-25expand: Rename AttrVisitor -> CfgStripArthur Cohen4-231/+231
2023-03-25expand: Add new ExpandVisitor classArthur Cohen6-299/+1687
2023-03-25expand: Move cfg-attrs related functions out of MacroExpanderArthur Cohen4-314/+329
2023-03-13enr: Fetch module items during early name resolutionArthur Cohen1-9/+0