diff options
author | Nala Ginrut <mulei@gnu.org> | 2020-06-05 02:08:57 +0800 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:16 +0000 |
commit | c9658f97840a3901cb053a9978287816e29bf37b (patch) | |
tree | e93d8258f406c5d4028b8906518ebb72456479cd | |
parent | 4433aa086a963903e36d515dc0cb0167fdad955e (diff) | |
download | gcc-c9658f97840a3901cb053a9978287816e29bf37b.zip gcc-c9658f97840a3901cb053a9978287816e29bf37b.tar.gz gcc-c9658f97840a3901cb053a9978287816e29bf37b.tar.bz2 |
Add function signature in rust-name-resolution.h
-rw-r--r-- | gcc/rust/analysis/rust-name-resolution.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/rust/analysis/rust-name-resolution.h b/gcc/rust/analysis/rust-name-resolution.h index e82b789..51ef450 100644 --- a/gcc/rust/analysis/rust-name-resolution.h +++ b/gcc/rust/analysis/rust-name-resolution.h @@ -1,6 +1,7 @@ #pragma once #include "rust-resolution.h" +#include <list> namespace Rust { namespace Analysis { @@ -219,6 +220,12 @@ public: private: NameResolution (AST::Crate &crate, TopLevelScan &toplevel); bool go () override; + void process_names (); + void process_work_list (); + void expand_macros (); + bool is_work_list_changed () { return is_work_list_changed_; } + std::list<AST::UseDeclaration> work_list_; + bool is_work_list_changed_; }; } // namespace Analysis |