]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: moved operator.h to util/rust-operators.h
authorAbdul Rafey <abdulrafeyq@gmail.com>
Sun, 29 Jan 2023 11:29:17 +0000 (16:59 +0530)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 6 Apr 2023 08:47:18 +0000 (10:47 +0200)
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>
gcc/rust/ast/rust-ast.cc
gcc/rust/ast/rust-expr.h
gcc/rust/hir/tree/rust-hir-expr.h
gcc/rust/rust-backend.h
gcc/rust/util/rust-lang-item.h
gcc/rust/util/rust-operators.h [moved from gcc/rust/operator.h with 100% similarity]

index 280f59ffb16ae82e30809305d540fe21ed55de4b..60a9f01e17fef546b264dd765959aa97ab92c4aa 100644 (file)
@@ -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
index 34bc6993ab646a7ec0aff91641e3165d58795ff6..3ed1885d5af819f7e7b79f46bfa67930ce5f33e4 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rust-ast.h"
 #include "rust-path.h"
-#include "operator.h"
+#include "rust-operators.h"
 
 namespace Rust {
 namespace AST {
index cc884420bef266ea27a254f1efae6bec9c675b78..bf103516800cc7ccc34f78eefd37adb1db5cb3a5 100644 (file)
@@ -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 {
index 01c5fc40e8cd46f4a9c801ef984602739c11be43..076104f3a403cb1b8e2b80f41a37ed631ae28f2a 100644 (file)
@@ -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
index ea0c91aa5f20d6d151a1cdc3e35ffd1fbf450d9e..29c364bad617f4db6b9850d66d5f3b5de301b04c 100644 (file)
@@ -17,7 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include "rust-system.h"
-#include "operator.h"
+#include "rust-operators.h"
 
 namespace Rust {
 namespace Analysis {