aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.cc
diff options
context:
space:
mode:
author0xn4utilus <gyanendrabanjare8@gmail.com>2024-02-25 19:03:55 +0530
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 13:12:15 +0200
commitbbc1dfcc57f2042163e558428b855dca38e24e88 (patch)
tree02ce77210784a38abfc3ab8290488c957b83417e /gcc/rust/ast/rust-ast.cc
parentc1ccc7c098dafac076862c25dff6e059f616b31a (diff)
downloadgcc-bbc1dfcc57f2042163e558428b855dca38e24e88.zip
gcc-bbc1dfcc57f2042163e558428b855dca38e24e88.tar.gz
gcc-bbc1dfcc57f2042163e558428b855dca38e24e88.tar.bz2
gccrs: Unify ASTValidation::visit for ExternalFunctionItem and Function
gcc/rust/ChangeLog: * checks/errors/rust-ast-validation.cc (ASTValidation::visit): Add external function validation support. Add ErrorCode::E0130. * parse/rust-parse-impl.h (Parser::parse_function): Parse external functions from `parse_function`. (Parser::parse_external_item): Clang format. (Parser::parse_pattern): Clang format. * parse/rust-parse.h: Add default parameter `is_external` in `parse_function`. Signed-off-by: 0xn4utilus <gyanendrabanjare8@gmail.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast.cc')
0 files changed, 0 insertions, 0 deletions