From c9658f97840a3901cb053a9978287816e29bf37b Mon Sep 17 00:00:00 2001 From: Nala Ginrut Date: Fri, 5 Jun 2020 02:08:57 +0800 Subject: Add function signature in rust-name-resolution.h --- gcc/rust/analysis/rust-name-resolution.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/rust/analysis') 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 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 work_list_; + bool is_work_list_changed_; }; } // namespace Analysis -- cgit v1.1