aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-05-02 16:02:55 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:37:17 +0100
commit82387cd8a0e70c9ab791ebccf26290907cf0d217 (patch)
tree155ac7f31eeacfb0c943c0f9886b31a45d571270 /gcc
parent71249c646b77a73002ea9f1061c492c76ac5bda5 (diff)
downloadgcc-82387cd8a0e70c9ab791ebccf26290907cf0d217.zip
gcc-82387cd8a0e70c9ab791ebccf26290907cf0d217.tar.gz
gcc-82387cd8a0e70c9ab791ebccf26290907cf0d217.tar.bz2
gccrs: ast: Rename rust-ast-tokenstream file
The file does not contain any TokenStream declaration anymore and thus should be named more appropriately. gcc/rust/ChangeLog: * Make-lang.in: Change file name. * ast/rust-ast-tokenstream.cc: Moved to... * ast/rust-ast-collector.cc: ...here. * ast/rust-ast-tokenstream.h: Moved to... * ast/rust-ast-collector.h: ...here. * rust-session-manager.cc: Change header name. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/Make-lang.in2
-rw-r--r--gcc/rust/ast/rust-ast-collector.cc (renamed from gcc/rust/ast/rust-ast-tokenstream.cc)2
-rw-r--r--gcc/rust/ast/rust-ast-collector.h (renamed from gcc/rust/ast/rust-ast-tokenstream.h)0
-rw-r--r--gcc/rust/rust-session-manager.cc2
4 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 8ef50b2..fdfc484 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -78,7 +78,7 @@ GRS_OBJS = \
rust/rust-pattern.o \
rust/rust-ast-fragment.o \
rust/rust-ast-dump.o \
- rust/rust-ast-tokenstream.o \
+ rust/rust-ast-collector.o \
rust/rust-hir-dump.o \
rust/rust-session-manager.o \
rust/rust-compile.o \
diff --git a/gcc/rust/ast/rust-ast-tokenstream.cc b/gcc/rust/ast/rust-ast-collector.cc
index 41db77b..908d151 100644
--- a/gcc/rust/ast/rust-ast-tokenstream.cc
+++ b/gcc/rust/ast/rust-ast-collector.cc
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with GCC; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-#include "rust-ast-tokenstream.h"
+#include "rust-ast-collector.h"
#include "libproc_macro/proc_macro.h"
namespace Rust {
diff --git a/gcc/rust/ast/rust-ast-tokenstream.h b/gcc/rust/ast/rust-ast-collector.h
index 01c7e7c..01c7e7c 100644
--- a/gcc/rust/ast/rust-ast-tokenstream.h
+++ b/gcc/rust/ast/rust-ast-collector.h
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index e85527e..860abab 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -35,7 +35,7 @@
#include "rust-lint-unused-var.h"
#include "rust-hir-dump.h"
#include "rust-ast-dump.h"
-#include "rust-ast-tokenstream.h"
+#include "rust-ast-collector.h"
#include "rust-export-metadata.h"
#include "rust-imports.h"
#include "rust-extern-crate.h"