From f24d408342417ace26ec9a378189ebad6522c637 Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Patry Date: Tue, 24 Oct 2023 16:08:00 +0200 Subject: gccrs: Add ast validation checker Add a new visitor to validate a given ast after the expansion pass. gcc/rust/ChangeLog: * Make-lang.in: Add the new object file the list. * checks/errors/rust-ast-validation.cc: New file. * checks/errors/rust-ast-validation.h: New file. Signed-off-by: Pierre-Emmanuel Patry --- gcc/rust/Make-lang.in | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/rust/Make-lang.in') diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 1cba946..015b433 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -189,6 +189,7 @@ GRS_OBJS = \ rust/rust-builtins.o \ rust/rust-feature.o \ rust/rust-feature-gate.o \ + rust/rust-ast-validation.o \ rust/rust-dir-owner.o \ rust/rust-unicode.o \ rust/rust-punycode.o \ -- cgit v1.1