aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand
AgeCommit message (Expand)AuthorFilesLines
2022-05-10macro: Add assertion to avoid undefined behaviorArthur Cohen2-2/+3
2022-05-09macros: Error out when repeating metavars which refer to repetitionsCohenArthur1-0/+15
2022-05-02Update gcc/rust/expand/rust-attribute-visitor.ccantego1-0/+1
2022-05-01Code deduplication for expression and type expansions.antego2-120/+56
2022-04-26Implement macro expansion in `IfExpr`, `IfExprConseqElse`, `IfExprConseqIf`, ...antego1-0/+12
2022-04-23Following up on #1141. Implementing macro expansion or ComparisonExpr, LazyBo...antego1-6/+33
2022-04-19macros: save included filename into session managerliushuyu1-6/+8
2022-04-17macros: add include! macroliushuyu2-0/+57
2022-04-15Move cfg!() macro to builtinsantego4-49/+39
2022-04-13macros: Add env! macroOndřej Machota2-0/+73
2022-04-12Merge #1109bors[bot]1-0/+6
2022-04-12rust: Allow gccrs to build on x86_64-apple-darwin with clang/libc++Simon Cook1-0/+6
2022-04-12macros: fix an infinite loop ...liushuyu1-1/+4
2022-04-11macros: add concat! macroliushuyu2-9/+63
2022-04-03macros: add compile_error! macroliushuyu2-0/+19
2022-03-31macros: Allow transcribing of zero itemsArthur Cohen3-22/+22
2022-03-31macros: Expand macro invocation properly in type contextsArthur Cohen1-0/+219
2022-03-31macro_transcriber: Add TYPE context and associated transcriberArthur Cohen2-0/+17
2022-03-25macros: Parse :meta properlyArthur Cohen1-5/+1
2022-03-25attributes: Allow stripping assignment expressionsArthur Cohen2-4/+12
2022-03-24Merge #1043 #1064bors[bot]3-3/+180
2022-03-24macros: implement include_bytes! and include_str!David Faust2-0/+179
2022-03-24macros: Allow parsing :tt fragmentsArthur Cohen1-3/+1
2022-03-23Merge #1049bors[bot]1-5/+11
2022-03-23Merge #1044bors[bot]1-1/+1
2022-03-23macros: Add base functions to check for follow-set ambiguitiesArthur Cohen1-1/+1
2022-03-22Merge #1047bors[bot]1-3/+16
2022-03-22parser: Add better restrictions around semicolons in statementsArthur Cohen1-5/+11
2022-03-22Merge #1041bors[bot]2-14/+52
2022-03-21macros: Add helper debugging function for substituted tokensArthur Cohen1-3/+16
2022-03-18macros: Only expand merged repetitions if they contain the same amountArthur Cohen2-14/+52
2022-03-18macros: Do not propagate parse errors in match repetitionsArthur Cohen1-4/+7
2022-03-17macros: Allow macro calls in trait implementationsArthur Cohen3-3/+27
2022-03-17macros: Add remaining context and improve parsing macro dispatchArthur Cohen4-69/+182
2022-03-17Merge #1027 #1032bors[bot]1-2/+5
2022-03-14parser: Allow parsing stmts without closing semicolonArthur Cohen1-2/+5
2022-03-14macros: Do not try and re-expand if depth has exceeded recursion limitArthur Cohen3-38/+23
2022-03-13Merge #1004bors[bot]2-0/+17
2022-03-13Added column!() macroM V V S Manoj Kumar2-0/+17
2022-03-11Merge #1015 #1018bors[bot]1-0/+37
2022-03-11builtin-macros: Add more documentation for defining builtinsArthur Cohen1-0/+37
2022-03-11attr-visitor: Split in its own source and headerArthur Cohen3-3073/+3463
2022-03-11Merge #1002bors[bot]4-50/+99
2022-03-11macros: Replace macro invocations with expanded nodesArthur Cohen2-87/+239
2022-03-10macros: Add abstraction around multiple matchesArthur Cohen4-50/+99
2022-03-08Merge #994 #997bors[bot]2-29/+61
2022-03-08macros: Allow any delimiters for invocationArthur Cohen1-8/+14
2022-03-08macros: Parse macro patterns properly in repetitionArthur Cohen1-21/+47
2022-03-07Merge #991bors[bot]4-21/+57
2022-03-06Merge #986bors[bot]1-3/+10