]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Change parser template implementation file ext
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 4 Dec 2025 12:22:04 +0000 (13:22 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 17 Dec 2025 06:20:13 +0000 (07:20 +0100)
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 <pierre-emmanuel.patry@embecosm.com>
gcc/rust/parse/rust-parse-impl-lexer.cc
gcc/rust/parse/rust-parse-impl-macro.cc
gcc/rust/parse/rust-parse-impl-proc-macro.cc
gcc/rust/parse/rust-parse-impl.hxx [moved from gcc/rust/parse/rust-parse-impl.h with 100% similarity]

index fec91e8b19d230273eebabae33ae25f079cf9d42..9943a606d719e6c7492c32f43bfeece1c50ad68c 100644 (file)
@@ -16,7 +16,7 @@
 // along with GCC; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-#include "rust-parse-impl.h"
+#include "rust-parse-impl.hxx"
 
 namespace Rust {
 
index e632887fa729494b970fa57419c451655f540a53..7ac2d31102cb5031af5b02c519ba3b8f48a911ad 100644 (file)
@@ -16,7 +16,7 @@
 // along with GCC; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-#include "rust-parse-impl.h"
+#include "rust-parse-impl.hxx"
 #include "rust-macro-invoc-lexer.h"
 
 namespace Rust {
index 965c9146d1d867ff57e6565d1df945c4e9ce04cb..4960e06a3c6580ce6ddce902719ecdbd88757109 100644 (file)
@@ -16,7 +16,7 @@
 // along with GCC; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-#include "rust-parse-impl.h"
+#include "rust-parse-impl.hxx"
 #include "rust-proc-macro-invoc-lexer.h"
 
 namespace Rust {