aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-output-file.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-18 23:53:42 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:30 +0100
commit813a1e617bdd70d730ef3c9a84780b3cb3a6f28d (patch)
treef318e79dfe74839a91691a72d99bcbdcb64c0dcb /gcc/diagnostic-output-file.h
parent4ed53c58b4c8a119a8677c0237075f87f9b4162f (diff)
downloadgcc-813a1e617bdd70d730ef3c9a84780b3cb3a6f28d.zip
gcc-813a1e617bdd70d730ef3c9a84780b3cb3a6f28d.tar.gz
gcc-813a1e617bdd70d730ef3c9a84780b3cb3a6f28d.tar.bz2
gccrs: Parse box expressions
Add support for old box expression syntax. gcc/rust/ChangeLog: * ast/rust-ast-collector.cc (TokenCollector::visit): Add visit member function for BoxExpr nodes. * ast/rust-ast-collector.h: Add visit function prototype. * ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Add visit member function to default ast visitor. * ast/rust-ast-visitor.h: Add visit function's prototype. * ast/rust-ast.cc (BoxExpr::as_string): Add as_string function implementation for BoxExpr. (BoxExpr::accept_vis): Add accept_vis implementation to BoxExpr. * ast/rust-expr.h (class BoxExpr): Add BoxExpr class to represent boxed expressions. * expand/rust-derive.h: Add BoxExpr visit function prototype. * hir/rust-ast-lower-base.cc (ASTLoweringBase::visit): Add BoxExpr visitor implementation. * hir/rust-ast-lower-base.h: Add visit function's prototype. * hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Add BoxExpr visitor implementation. * hir/rust-ast-lower-expr.h: Add visit function's prototype. * parse/rust-parse-impl.h (Parser::parse_box_expr): Add parse_box_expr function's implementation. * parse/rust-parse.h: Add parse_box_expr function's prototype. * resolve/rust-ast-resolve-base.cc (ResolverBase::visit): Add resolver visit implementation. * resolve/rust-ast-resolve-base.h: Add resolver's visit function prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/diagnostic-output-file.h')
0 files changed, 0 insertions, 0 deletions