aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAbdul Rafey <abdulrafeyq@gmail.com>2023-01-29 16:59:17 +0530
committerArthur Cohen <arthur.cohen@embecosm.com>2023-04-06 10:47:18 +0200
commitd6cb04bf5c0d77f60572f6f076fb602a8aeabf98 (patch)
tree99bcead79b99c3b8ba6ccf5996084d7b8bfe1fe7 /gcc
parent9b19e93873c6145c9a0cdf631d9d1b8eece90d4e (diff)
downloadgcc-d6cb04bf5c0d77f60572f6f076fb602a8aeabf98.zip
gcc-d6cb04bf5c0d77f60572f6f076fb602a8aeabf98.tar.gz
gcc-d6cb04bf5c0d77f60572f6f076fb602a8aeabf98.tar.bz2
gccrs: moved operator.h to util/rust-operators.h
gcc/rust/ChangeLog: * ast/rust-ast.cc: Fix include list. * ast/rust-expr.h: Likewise. * hir/tree/rust-hir-expr.h: Likewise. * rust-backend.h: Likewise. * util/rust-lang-item.h: Likewise. * operator.h: Moved to... * util/rust-operators.h: ...here. Signed-off-by: Abdul Rafey <abdulrafeyq@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-ast.cc2
-rw-r--r--gcc/rust/ast/rust-expr.h2
-rw-r--r--gcc/rust/hir/tree/rust-hir-expr.h2
-rw-r--r--gcc/rust/rust-backend.h2
-rw-r--r--gcc/rust/util/rust-lang-item.h2
-rw-r--r--gcc/rust/util/rust-operators.h (renamed from gcc/rust/operator.h)0
6 files changed, 5 insertions, 5 deletions
diff --git a/gcc/rust/ast/rust-ast.cc b/gcc/rust/ast/rust-ast.cc
index 280f59f..60a9f01 100644
--- a/gcc/rust/ast/rust-ast.cc
+++ b/gcc/rust/ast/rust-ast.cc
@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see
#include "rust-session-manager.h"
#include "rust-lex.h"
#include "rust-parse.h"
-#include "operator.h"
+#include "rust-operators.h"
/* Compilation unit used for various AST-related functions that would make
* the headers too long if they were defined inline and don't receive any
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index 34bc699..3ed1885d 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -3,7 +3,7 @@
#include "rust-ast.h"
#include "rust-path.h"
-#include "operator.h"
+#include "rust-operators.h"
namespace Rust {
namespace AST {
diff --git a/gcc/rust/hir/tree/rust-hir-expr.h b/gcc/rust/hir/tree/rust-hir-expr.h
index cc88442..bf10351 100644
--- a/gcc/rust/hir/tree/rust-hir-expr.h
+++ b/gcc/rust/hir/tree/rust-hir-expr.h
@@ -23,7 +23,7 @@
#include "rust-ast-full-decls.h"
#include "rust-hir.h"
#include "rust-hir-path.h"
-#include "operator.h"
+#include "rust-operators.h"
namespace Rust {
namespace HIR {
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index 01c5fc4..076104f 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -26,7 +26,7 @@
#include "rust-location.h"
#include "rust-linemap.h"
#include "rust-diagnostics.h"
-#include "operator.h"
+#include "util/rust-operators.h"
#include "tree.h"
// Pointers to these types are created by the backend, passed to the
diff --git a/gcc/rust/util/rust-lang-item.h b/gcc/rust/util/rust-lang-item.h
index ea0c91a..29c364b 100644
--- a/gcc/rust/util/rust-lang-item.h
+++ b/gcc/rust/util/rust-lang-item.h
@@ -17,7 +17,7 @@
// <http://www.gnu.org/licenses/>.
#include "rust-system.h"
-#include "operator.h"
+#include "rust-operators.h"
namespace Rust {
namespace Analysis {
diff --git a/gcc/rust/operator.h b/gcc/rust/util/rust-operators.h
index dab44e9..dab44e9 100644
--- a/gcc/rust/operator.h
+++ b/gcc/rust/util/rust-operators.h