aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
AgeCommit message (Expand)AuthorFilesLines
2022-03-25Merge #1063bors[bot]1-8/+9
2022-03-25parser: Move outer attrs properly intoto AssignmentExprArthur Cohen1-8/+9
2022-03-25macros: Allow checking past zeroable matches for follow-set restrictionsArthur Cohen1-3/+28
2022-03-23Merge #1056 #1057bors[bot]1-1/+1
2022-03-23Fix '#include <algorithm>' [#159]Thomas Schwinge1-1/+1
2022-03-23Merge #1049bors[bot]1-21/+13
2022-03-23macros: Add base functions to check for follow-set ambiguitiesArthur Cohen1-2/+11
2022-03-22parser: Add better restrictions around semicolons in statementsArthur Cohen1-21/+13
2022-03-18parser: Parse reserved keywords as valid fragments identifiersArthur Cohen1-3/+59
2022-03-17macros: Add remaining context and improve parsing macro dispatchArthur Cohen1-3/+4
2022-03-14parser: Allow parsing stmts without closing semicolonArthur Cohen1-13/+31
2022-03-08Refactor ABI options as part of HIR function qualifiersPhilip Herron1-2/+2
2022-03-01parser: Allow parsing macro invocations as statementsArthur Cohen1-26/+35
2022-02-20Merge #950bors[bot]1-5/+4
2022-02-18macro-repetition: Rename enum variants to better reflect repetition kindArthur Cohen1-5/+4
2022-02-18struct pattern: Add location on struct nameArthur Cohen1-2/+4
2022-02-18type-path-fn: Add location info on start of Fn tokenArthur Cohen1-3/+5
2022-02-18path-id: Add location info on path identifierArthur Cohen1-8/+10
2022-02-18closure-arg: Add location info on arg nameArthur Cohen1-2/+2
2022-02-18struct-base: Add location info on `..` tokenArthur Cohen1-1/+3
2022-02-18array-copy-init: Add location infoArthur Cohen1-1/+1
2022-02-18array-values: Add location infoArthur Cohen1-3/+3
2022-02-18fn-arg: Add location on parameter nameArthur Cohen1-1/+2
2022-02-17Semicolon based macro invocationPhilip Herron1-0/+20
2022-02-17Support block expressions within macrosPhilip Herron1-0/+6
2022-02-17macrorule: Add location informationArthur Cohen1-3/+5
2022-02-17macrotranscriber: Add location infoArthur Cohen1-1/+2
2022-02-16macromatch: Add location to abstract MacroMatch classArthur Cohen1-6/+8
2022-02-04Upated parameterised constuctor of MatchArm to take location data@mvvsmk1-2/+3
2022-01-21Extract AsyncConstStatus to be a shared enum between AST and HIRPhilip Herron1-4/+3
2022-01-14Track end locus of BlockExprDavid Faust1-4/+6
2021-11-05Merge #794bors[bot]1-4/+6
2021-11-03Desugar AST::TraitObjectTypeOneBoundPhilip Herron1-4/+6
2021-11-03rust: track inline module scopes for module file resolutionBen Boeckel1-2/+6
2021-10-29Add location info in AST::TypeBoundWhereClauseItem and HIR::TypeBoundWhereCla...Nirmal Patel1-1/+3
2021-10-27Fix parser error for lifetime argumentsPhilip Herron1-4/+1
2021-10-25LifetimeWhereClauseItem: store the location of the itemBen Boeckel1-1/+3
2021-09-30Remove raw string and raw byte string references from ast and hirMark Wielaard1-3/+0
2021-09-06Parse optional visibility for enum itemMark Wielaard1-4/+8
2021-08-27Qualified paths have a mandatory initial segmentPhilip Herron1-5/+2
2021-08-26Get rid of get_locus_slowMark Wielaard1-44/+44
2021-08-14parse if expression with unary minus or not expressionMark Wielaard1-0/+4
2021-08-12module: Add basic filename discoveryCohenArthur1-0/+1
2021-08-12lexer: Add function to get original filenameCohenArthur1-2/+2
2021-08-11Pass pratt parsed location to expr parser functions to fix expr locusMark Wielaard1-117/+60
2021-08-05parser: Implement parse_items() as separate public functionCohenArthur1-38/+18
2021-08-04Merge #605bors[bot]1-8/+8
2021-08-04Always check the result of expect_token while parsingMark Wielaard1-0/+27
2021-08-03parser: Use Module constructor instead of both versionsCohenArthur1-8/+8
2021-08-02Add locus to TupleField and pass it and union variants to HIR classMark Wielaard1-1/+3