aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse.h
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-12-07 19:51:24 +0800
committerSimplyTheOther <simplytheother@gmail.com>2020-12-08 21:10:36 +0800
commitc7080f178a637cad04e196a404d5d44bb33189af (patch)
treea023eeee3f2c3ab85190e4967cfe0599b466843e /gcc/rust/parse/rust-parse.h
parentdb39766514144dbbad34d9db3977c3a72d1216c3 (diff)
downloadgcc-c7080f178a637cad04e196a404d5d44bb33189af.zip
gcc-c7080f178a637cad04e196a404d5d44bb33189af.tar.gz
gcc-c7080f178a637cad04e196a404d5d44bb33189af.tar.bz2
Added more cfg stripping code
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r--gcc/rust/parse/rust-parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h
index a6de87b..7218ebc 100644
--- a/gcc/rust/parse/rust-parse.h
+++ b/gcc/rust/parse/rust-parse.h
@@ -545,7 +545,7 @@ private:
std::unique_ptr<AST::Type> parse_paren_prefixed_type ();
std::unique_ptr<AST::TypeNoBounds> parse_paren_prefixed_type_no_bounds ();
std::unique_ptr<AST::Type> parse_for_prefixed_type ();
- AST::MaybeNamedParam parse_maybe_named_param ();
+ AST::MaybeNamedParam parse_maybe_named_param (std::vector<AST::Attribute> outer_attrs);
// Statement-related
std::unique_ptr<AST::Stmt> parse_stmt ();