From e0eb48c3a91e3920785da3f8f96ee8cd71ee55c3 Mon Sep 17 00:00:00 2001
From: jjasmine <tanghocle456@gmail.com>
Date: Wed, 5 Jun 2024 18:12:49 -0700
Subject: gccrs: Fix visitor-related warnings

gcc/rust/ChangeLog:

	* ast/rust-ast-collector.cc (TokenCollector::visit):
	Fix visitor-related warnings
	* ast/rust-ast-collector.h: Likewise.
	* ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Likewise.
	* ast/rust-ast-visitor.h: Likewise.
	* checks/errors/borrowck/rust-bir-builder-struct.h: Likewise.
	* checks/errors/borrowck/rust-function-collector.h: Likewise.
	* checks/errors/rust-const-checker.cc (ConstChecker::visit): Likewise.
	* checks/errors/rust-const-checker.h: Likewise.
	* expand/rust-derive.h: Likewise.
	* expand/rust-macro-builtins-asm.cc (parse_reg_operand): Likewise.
	* hir/rust-hir-dump.cc (Dump::visit): Likewise.
	* hir/rust-hir-dump.h: Likewise.
	* hir/tree/rust-hir-visitor.h: Likewise.
	* resolve/rust-ast-resolve-base.cc (ResolverBase::visit): Likewise.
	* resolve/rust-ast-resolve-base.h: Likewise.
---
 gcc/rust/resolve/rust-ast-resolve-base.cc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'gcc/rust/resolve/rust-ast-resolve-base.cc')

diff --git a/gcc/rust/resolve/rust-ast-resolve-base.cc b/gcc/rust/resolve/rust-ast-resolve-base.cc
index 66ce5bf..69f146c 100644
--- a/gcc/rust/resolve/rust-ast-resolve-base.cc
+++ b/gcc/rust/resolve/rust-ast-resolve-base.cc
@@ -323,6 +323,10 @@ ResolverBase::visit (AST::AsyncBlockExpr &)
 {}
 
 void
+ResolverBase::visit (AST::InlineAsm &)
+{}
+
+void
 ResolverBase::visit (AST::TypeParam &)
 {}
 
-- 
cgit v1.1