aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand
AgeCommit message (Expand)AuthorFilesLines
2023-03-07expand: Add stringify macroPierre-Emmanuel Patry2-0/+36
2023-03-02Add location info when opening a file fails in include_str and include_bytes....Nikos Alexandris1-5/+7
2023-02-28ast: Add RestPattern AST nodePierre-Emmanuel Patry2-0/+6
2023-02-28Implement and test include_str eager expansionomkar-mohanty1-50/+110
2023-02-24ast: Add proper visitors for ExternalTypeItemArthur Cohen1-1/+8
2023-02-24ast: Add ExternalTypeItem nodeArthur Cohen2-0/+9
2023-02-24macro_invoc_lexer: Add `split_current_token` implementationArthur Cohen1-5/+16
2023-02-17diagnostic: Refactor Error classArthur Cohen2-3/+3
2023-02-16Add AST::AltPattern classOwen Avery2-0/+15
2023-02-15builtins: Return empty list of tokens instead of nullptrArthur Cohen1-2/+13
2023-02-14Implemented UTF-8 checking for include_str!()Owen Avery1-2/+49
2023-02-13Merge #1847bors[bot]8-8/+8
2023-02-12Merge commit '83ffe9cde7fe0b4deb0d1b54175fd9b19c38179c' into HEADThomas Schwinge8-8/+8
2023-02-08expander: Add documentation for `expand_eager_invocations`Arthur Cohen1-3/+11
2023-02-08macros: Perform macro expansion in a fixed-point fashion.Arthur Cohen5-145/+294
2023-02-08macro: Allow builtin `MacroInvocation`s within the ASTArthur Cohen1-1/+71
2023-02-08expansion: Add `get_token_slice` to `MacroInvocLexer` classArthur Cohen2-0/+17
2023-01-30macro: Allow builtin `MacroInvocation`s within the ASTArthur Cohen1-0/+2
2023-01-24Do not crash on empty macros expand. Fixes #1712Lyra1-0/+2
2023-01-16Update copyright years.Jakub Jelinek8-8/+8
2022-12-13gccrs: Add expansion pass for the Rust front-endArthur Cohen10-0/+6228
2022-12-05Cleanup unused parameters to fix the bootstrap buildPhilip Herron1-11/+9
2022-12-04Revert "rust: Remove unused variables and fix dangling references"Philip Herron1-9/+11
2022-11-15rust: Remove unused variables and fix dangling referencesArthur Cohen1-11/+9
2022-10-24builtins: Rename all bang macro handlersArthur Cohen2-36/+36
2022-10-19ast: Improve Fragment APIArthur Cohen4-14/+14
2022-10-19rust: Replace uses of ASTFragment -> FragmentArthur Cohen5-92/+89
2022-10-11early-name-resolver: Add simple macro name resolutionArthur Cohen4-35/+18
2022-09-26expand: eager evaluate macros inside builtin macrosliushuyu2-45/+162
2022-08-31ast: Only expand expressions and types if the kind is rightArthur Cohen2-5/+10
2022-08-30Merge #1515 #1516bors[bot]1-0/+8
2022-08-30transcriber: Do not infinite loop if the current parsed node is an errorArthur Cohen1-0/+8
2022-08-30macros: Handle matchers properly in repetitionsArthur Cohen2-6/+10
2022-08-02expand: correctly handles non-macro nodes ...liushuyu1-0/+16
2022-07-28expand: further improves the handling of recursive macros ...liushuyu2-21/+48
2022-07-22Merge #1405bors[bot]3-25/+68
2022-07-20macros: Rename APIs around metavars and repetitions to improve clarityArthur Cohen3-20/+24
2022-07-20macro: Allow the repetition of metavars when expanding repetitionsArthur Cohen3-19/+58
2022-07-19expand/attr-visitor: recursively expand the macros if neededliushuyu1-2/+11
2022-07-19rust/expand: merge expand_invoc and expand_invoc_semi functionsliushuyu3-51/+12
2022-07-18resolver: Disambiguate generic argsArthur Cohen1-13/+28
2022-07-15Support extern cratePhilip Herron1-4/+13
2022-07-08Refactor mappings class and HIR lowering to be consistentPhilip Herron2-6/+9
2022-07-07Merge #1363bors[bot]2-7/+8
2022-07-07Refactor Lexer to support an abstract InputSource classPhilip Herron2-7/+8
2022-07-07ast: Rename ConstGenericArg -> GenericArgArthur Cohen1-6/+15
2022-06-24Add line builtin macroSebastien Lacoste2-0/+16
2022-06-24Remove unused commented codeSebastien Lacoste1-2/+1
2022-06-17ast: Add ConstGenericParam classArthur Cohen2-0/+6
2022-06-14Fix formatting error on 32-bits targetsMarc Poulhiès2-5/+8