diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-01-30 11:41:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 11:41:57 +0000 |
commit | 0ae13efb5a6383a3e7e22ceb064fa358038bd36f (patch) | |
tree | 85aaf352a9c158b1cea846917dc4055003fbd20e /gcc | |
parent | d12a38da686e39952e083821f1d77116f3ed91af (diff) | |
parent | e66cb001dc7a011a27c8104f9a9dd7ee6c9a6c08 (diff) | |
download | gcc-0ae13efb5a6383a3e7e22ceb064fa358038bd36f.zip gcc-0ae13efb5a6383a3e7e22ceb064fa358038bd36f.tar.gz gcc-0ae13efb5a6383a3e7e22ceb064fa358038bd36f.tar.bz2 |
Merge #1778
1778: Moved operator.h to util/rust-operators.h. r=CohenArthur a=00AR
Signed-off-by: Abdul Rafey <abdulrafeyq@gmail.com>
Refactored operator.h. #1768
Changes shown in rust-operators.h are done by clang-formater.
Co-authored-by: Abdul Rafey <abdulrafeyq@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/ast/rust-ast.cc | 2 | ||||
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 2 | ||||
-rw-r--r-- | gcc/rust/hir/tree/rust-hir-expr.h | 2 | ||||
-rw-r--r-- | gcc/rust/rust-backend.h | 2 | ||||
-rw-r--r-- | gcc/rust/util/rust-lang-item.h | 2 | ||||
-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 c98df51..813c35b 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 693704e..2c32d28 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 cda2642..7a51f5f 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 1aa5794..52f53fa 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 6813db3..6813db3 100644 --- a/gcc/rust/operator.h +++ b/gcc/rust/util/rust-operators.h |