From: Pierre-Emmanuel Patry Date: Thu, 4 Dec 2025 12:22:04 +0000 (+0100) Subject: gccrs: Change parser template implementation file ext X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019c75fc44aff052f17433564448a0ae1a793187;p=thirdparty%2Fgcc.git gccrs: Change parser template implementation file ext We have a few more template implementation files within the rust frontend that use the hxx extension to make their content clear and highlight the missing header guards. gcc/rust/ChangeLog: * parse/rust-parse-impl-lexer.cc: Fix included file name. * parse/rust-parse-impl-macro.cc: Likewise. * parse/rust-parse-impl-proc-macro.cc: Likewise. * parse/rust-parse-impl.h: Move to... * parse/rust-parse-impl.hxx: ...here. Signed-off-by: Pierre-Emmanuel Patry --- diff --git a/gcc/rust/parse/rust-parse-impl-lexer.cc b/gcc/rust/parse/rust-parse-impl-lexer.cc index fec91e8b19d..9943a606d71 100644 --- a/gcc/rust/parse/rust-parse-impl-lexer.cc +++ b/gcc/rust/parse/rust-parse-impl-lexer.cc @@ -16,7 +16,7 @@ // along with GCC; see the file COPYING3. If not see // . -#include "rust-parse-impl.h" +#include "rust-parse-impl.hxx" namespace Rust { diff --git a/gcc/rust/parse/rust-parse-impl-macro.cc b/gcc/rust/parse/rust-parse-impl-macro.cc index e632887fa72..7ac2d31102c 100644 --- a/gcc/rust/parse/rust-parse-impl-macro.cc +++ b/gcc/rust/parse/rust-parse-impl-macro.cc @@ -16,7 +16,7 @@ // along with GCC; see the file COPYING3. If not see // . -#include "rust-parse-impl.h" +#include "rust-parse-impl.hxx" #include "rust-macro-invoc-lexer.h" namespace Rust { diff --git a/gcc/rust/parse/rust-parse-impl-proc-macro.cc b/gcc/rust/parse/rust-parse-impl-proc-macro.cc index 965c9146d1d..4960e06a3c6 100644 --- a/gcc/rust/parse/rust-parse-impl-proc-macro.cc +++ b/gcc/rust/parse/rust-parse-impl-proc-macro.cc @@ -16,7 +16,7 @@ // along with GCC; see the file COPYING3. If not see // . -#include "rust-parse-impl.h" +#include "rust-parse-impl.hxx" #include "rust-proc-macro-invoc-lexer.h" namespace Rust { diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.hxx similarity index 100% rename from gcc/rust/parse/rust-parse-impl.h rename to gcc/rust/parse/rust-parse-impl.hxx