From: Pierre-Emmanuel Patry <[email protected]>
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 <[email protected]>
---
gcc/rust/parse/rust-parse-impl-lexer.cc | 2 +-
gcc/rust/parse/rust-parse-impl-macro.cc | 2 +-
gcc/rust/parse/rust-parse-impl-proc-macro.cc | 2 +-
gcc/rust/parse/{rust-parse-impl.h => rust-parse-impl.hxx} | 0
4 files changed, 3 insertions(+), 3 deletions(-)
rename gcc/rust/parse/{rust-parse-impl.h => rust-parse-impl.hxx} (100%)
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
// <http://www.gnu.org/licenses/>.
-#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
// <http://www.gnu.org/licenses/>.
-#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
// <http://www.gnu.org/licenses/>.
-#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
--
2.50.1