aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-expand.h
AgeCommit message (Expand)AuthorFilesLines
2024-06-18expand: Switch semicolon boolean to an enum instead.Arthur Cohen1-3/+4
2024-05-06Change singleton returned type to a referencePierre-Emmanuel Patry1-4/+4
2024-02-16Update copyright years.Sahil Yeole1-1/+1
2024-02-13expand: Fix formatting for "macro not found" errorArthur Cohen1-3/+3
2023-09-06Use optional for proc macro invocation lookupPierre-Emmanuel Patry1-10/+15
2023-09-05Move proc macro definition to mappingsPierre-Emmanuel Patry1-6/+7
2023-09-04Rename libproc_macro to libproc_macro_internalPierre-Emmanuel Patry1-1/+1
2023-08-11macro-expand: Keep optional references to last_{def, invoc}Arthur Cohen1-4/+12
2023-07-21resolve: Remove ProcMacroInvocable interfacePierre-Emmanuel Patry1-2/+2
2023-07-21resolve: Add mappings for proc macros and resolvingPierre-Emmanuel Patry1-49/+13
2023-07-17Replace some usages of Location with location_tOwen Avery1-1/+1
2023-07-14rust-unreachable: Add specific behavior for rust_unreachableArthur Cohen1-1/+1
2023-07-12Add missing virtual destructor to interfacesPierre-Emmanuel Patry1-0/+2
2023-07-09Replace value initialization of Location with UNDEF_LOCATIONOwen Avery1-3/+3
2023-06-30Improve macro repetition handlingOwen Avery1-1/+33
2023-06-29collector: Remove external containerPierre-Emmanuel Patry1-6/+3
2023-06-27Insert empty repeated metavars for nested repetitionsOwen Avery1-0/+5
2023-06-22Make MatchedFragmentContainer a tree-like structureOwen Avery1-48/+75
2023-06-20gccrs: Parse statement macros as statements.Matthew Jasper1-1/+2
2023-06-08expand: Make to_derive argument constPierre-Emmanuel Patry1-1/+2
2023-06-08expand: Expand item level attribute proc macrosPierre-Emmanuel Patry1-2/+2
2023-06-08expand: Remove proc macro fragment from expanderPierre-Emmanuel Patry1-18/+0
2023-06-08expand: Move derive system to new onePierre-Emmanuel Patry1-8/+7
2023-06-08expand: Add derive proc macro draftPierre-Emmanuel Patry1-0/+129
2023-06-01Properly match delimitersOwen Avery1-1/+2
2023-03-25expand: Add new ExpandVisitor classArthur Cohen1-1/+1
2023-03-25expand: Move cfg-attrs related functions out of MacroExpanderArthur Cohen1-4/+0
2023-02-13Merge #1847bors[bot]1-1/+1
2023-02-12Merge commit '83ffe9cde7fe0b4deb0d1b54175fd9b19c38179c' into HEADThomas Schwinge1-1/+1
2023-02-08macros: Perform macro expansion in a fixed-point fashion.Arthur Cohen1-31/+32
2023-01-16Update copyright years.Jakub Jelinek1-1/+1
2022-12-13gccrs: Add expansion pass for the Rust front-endArthur Cohen1-0/+366
2022-10-19ast: Improve Fragment APIArthur Cohen1-1/+1
2022-10-19rust: Replace uses of ASTFragment -> FragmentArthur Cohen1-12/+11
2022-10-11early-name-resolver: Add simple macro name resolutionArthur Cohen1-0/+4
2022-08-30macros: Handle matchers properly in repetitionsArthur Cohen1-1/+1
2022-08-02expand: correctly handles non-macro nodes ...liushuyu1-0/+16
2022-07-22Merge #1405bors[bot]1-16/+45
2022-07-20macros: Rename APIs around metavars and repetitions to improve clarityArthur Cohen1-8/+7
2022-07-20macro: Allow the repetition of metavars when expanding repetitionsArthur Cohen1-13/+43
2022-07-19rust/expand: merge expand_invoc and expand_invoc_semi functionsliushuyu1-2/+1
2022-05-10macro: Add assertion to avoid undefined behaviorArthur Cohen1-0/+3
2022-04-15Move cfg!() macro to builtinsantego1-5/+0
2022-03-31macros: Allow transcribing of zero itemsArthur Cohen1-2/+2
2022-03-31macro_transcriber: Add TYPE context and associated transcriberArthur Cohen1-0/+1
2022-03-17macros: Allow macro calls in trait implementationsArthur Cohen1-1/+2
2022-03-17macros: Add remaining context and improve parsing macro dispatchArthur Cohen1-0/+3
2022-03-14macros: Do not try and re-expand if depth has exceeded recursion limitArthur Cohen1-1/+8
2022-03-11Merge #1002bors[bot]1-19/+76
2022-03-11macros: Replace macro invocations with expanded nodesArthur Cohen1-1/+17