aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCohenArthur <arthur.cohen@epita.fr>2021-09-09 13:42:51 +0200
committerCohenArthur <arthur.cohen@epita.fr>2021-09-09 14:48:22 +0200
commit8cd6306905b31a0fb92f95e8472c6a8e26a17b04 (patch)
tree5b13a8e8419b4731f7421626bf5aa88722c03427 /gcc
parent5a6341a623919e747ca1c093a85c0aedb0344fd9 (diff)
downloadgcc-8cd6306905b31a0fb92f95e8472c6a8e26a17b04.zip
gcc-8cd6306905b31a0fb92f95e8472c6a8e26a17b04.tar.gz
gcc-8cd6306905b31a0fb92f95e8472c6a8e26a17b04.tar.bz2
module: Rename get_filename() -> process_file_path()
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-ast-full-test.cc6
-rw-r--r--gcc/rust/ast/rust-item.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rust/ast/rust-ast-full-test.cc b/gcc/rust/ast/rust-ast-full-test.cc
index 89b24c1..2aa12e7 100644
--- a/gcc/rust/ast/rust-ast-full-test.cc
+++ b/gcc/rust/ast/rust-ast-full-test.cc
@@ -4028,7 +4028,7 @@ filename_from_path_attribute (std::vector<Attribute> &outer_attrs)
}
void
-Module::get_filename ()
+Module::process_file_path ()
{
rust_assert (kind == Module::ModuleKind::UNLOADED);
rust_assert (module_file.empty ());
@@ -4088,9 +4088,9 @@ Module::get_filename ()
void
Module::load_items ()
{
- get_filename ();
+ process_file_path ();
- // We will already have errored out appropriately in the get_filename ()
+ // We will already have errored out appropriately in the process_file_path ()
// method
if (module_file.empty ())
return;
diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h
index 4886992..f1530be 100644
--- a/gcc/rust/ast/rust-item.h
+++ b/gcc/rust/ast/rust-item.h
@@ -1057,7 +1057,7 @@ public:
// Search for the filename associated with an external module, storing it in
// module_file
- void get_filename ();
+ void process_file_path ();
// Load the items contained in an external module
void load_items ();