aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-02-22 14:59:17 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 13:12:14 +0200
commit5151b289ad4090072a12fb6ac6219c035118eb32 (patch)
treed1875583bc90444cd225bd87aa99eaf70192383b /gcc/rust/util
parent68cb878c1dab0636da4f686d6c8f5d4fa3b66e3b (diff)
downloadgcc-5151b289ad4090072a12fb6ac6219c035118eb32.zip
gcc-5151b289ad4090072a12fb6ac6219c035118eb32.tar.gz
gcc-5151b289ad4090072a12fb6ac6219c035118eb32.tar.bz2
gccrs: 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/util')
0 files changed, 0 insertions, 0 deletions