diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-22 14:59:17 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-03-01 15:42:36 +0000 |
commit | 3ff0f1a7bf230d641503fd1d2a2dc8066a729259 (patch) | |
tree | 2ac649ca99b85fc8863d06ceff8a4185bf30ff97 /gcc/rust/resolve/rust-ast-resolve.cc | |
parent | afed72d7137afe4ab4c7db44262379ba6dda4eb9 (diff) | |
download | gcc-3ff0f1a7bf230d641503fd1d2a2dc8066a729259.zip gcc-3ff0f1a7bf230d641503fd1d2a2dc8066a729259.tar.gz gcc-3ff0f1a7bf230d641503fd1d2a2dc8066a729259.tar.bz2 |
lower: Add base for lowering FormatArgs nodes
gcc/rust/ChangeLog:
* Make-lang.in: Compile the new source file.
* ast/rust-ast-collector.cc (TokenCollector::visit): Error out when
visiting FormatArgs nodes.
* resolve/rust-ast-resolve-base.cc (ResolverBase::visit): Likewise.
* hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Likewise.
* ast/rust-ast.cc (FormatArgs::get_locus): New.
* ast/rust-builtin-ast-nodes.h: Improve FormatArgs API.
* ast/rust-fmt.cc (Pieces::~Pieces): Cleanup.
(Pieces::Pieces): Likewise.
* ast/rust-fmt.h (struct Pieces): Add pieces_vector member.
* hir/rust-ast-lower-format-args.cc: New file.
* hir/rust-ast-lower-format-args.h: New file.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve.cc')
0 files changed, 0 insertions, 0 deletions