aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-macro.h
AgeCommit message (Expand)AuthorFilesLines
2024-05-06Change singleton returned type to a referencedevel/rust/masterPierre-Emmanuel Patry1-1/+1
2024-03-19macro: Use MacroInvocation's node_id in ExternalItem constructor.Arthur Cohen1-1/+1
2024-03-05Add get_pattern_kind to Pattern0xn4utilus1-0/+5
2024-03-05Add support for external functions0xn4utilus1-4/+5
2024-02-16Update copyright years.Sahil Yeole1-1/+1
2024-01-18Unify storage of associated items in SingleASTNodeOwen Avery1-2/+0
2023-11-30Remove class AST::InherentImplItemOwen Avery1-1/+1
2023-10-18Create base class AssociatedItemOwen Avery1-11/+1
2023-10-17Add path to macro fragment follow restrictionsPierre-Emmanuel Patry1-0/+1
2023-10-16Replace get_pattern_node_id with get_node_idOwen Avery1-1/+1
2023-08-03ast: Add `get_kind` method to `MacroRulesDefinition`Arthur Cohen1-0/+2
2023-07-31gccrs: use tl::optional for macro transcribersMarc Poulhiès1-7/+5
2023-07-21Replace usages of Location with location_t in the lexer, AST, and HIROwen Avery1-21/+21
2023-07-21resolve: Add mappings for proc macros and resolvingPierre-Emmanuel Patry1-1/+3
2023-07-21ast: Add manual dispatch for meta item downcastingPierre-Emmanuel Patry1-0/+30
2023-07-18Replace some more usages of Location with location_tOwen Avery1-10/+10
2023-07-17Replace some usages of Location with location_tOwen Avery1-22/+24
2023-07-14rust-unreachable: Add specific behavior for rust_unreachableArthur Cohen1-2/+2
2023-07-10gccrs: Remove Rust::Optional in favor of tl::optionalArthur Cohen1-10/+8
2023-07-09Replace value initialization of Location with UNDEF_LOCATIONOwen Avery1-2/+2
2023-06-29ast: Change Identifier definitionPierre-Emmanuel Patry1-3/+3
2023-06-22expand: Derive statementsArthur Cohen1-2/+8
2023-06-20gccrs: Parse statement macros as statements.Matthew Jasper1-9/+0
2023-06-20gccrs: Parse semicolons in more cases for statement macrosMatthew Jasper1-0/+2
2023-05-18ast: Add `outer_attrs` to all `Item`sArthur Cohen1-3/+9
2023-05-17Make MacroInvocation cloning publicOwen Avery1-0/+2
2023-05-15ast: Remove ExprStmtWithBlock / ExprStmtWithoutBlock distinctionMatthew Jasper1-1/+1
2023-05-05builtin: Cleanup handling of builtin macrosArthur Cohen1-22/+1
2023-04-05ast: Add outer attribute getter to Expr classPierre-Emmanuel Patry1-1/+1
2023-03-30ast: Add Meta items TokenStream visitorPierre-Emmanuel Patry1-0/+14
2023-03-07expand: Add stringify macroPierre-Emmanuel Patry1-0/+1
2023-02-17ast: Refactor TraitItem to keep Location infoArthur Cohen1-5/+5
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-25/+76
2023-01-30macro: Allow builtin `MacroInvocation`s within the ASTArthur Cohen1-18/+92
2023-01-16Update copyright years.Jakub Jelinek1-1/+1
2023-01-11Add get_locus function for abstract class MetaItemInner.mxlol2331-0/+12
2023-01-10Implement declarative macro 2.0 parserRaiki Tamura1-16/+49
2022-12-13gccrs: Add full definitions of Rust AST data structuresJoel Phillips1-0/+958
2022-10-27ast: Remove system includeArthur Cohen1-1/+1
2022-10-21Merge #1607bors[bot]1-9/+9
2022-10-19rust: Replace uses of ASTFragment -> FragmentArthur Cohen1-9/+9
2022-10-17dump: Dump macro rules definitionArthur Cohen1-0/+1
2022-06-28backend: handle deprecated attributeliushuyu1-0/+8
2022-04-28ast: Add location info to remaining meta itemsArthur Cohen1-6/+10
2022-04-28ast: Add location info to MetaWordArthur Cohen1-1/+4
2022-04-28ast: Add location info to MetaValueStrArthur Cohen1-2/+7
2022-03-31macros: Allow transcribing of zero itemsArthur Cohen1-1/+1
2022-03-25macros: Allow checking past zeroable matches for follow-set restrictionsArthur Cohen1-0/+8