aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse.h
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-10-29 22:11:41 +0800
committerSimplyTheOther <simplytheother@gmail.com>2020-12-08 21:10:18 +0800
commit69048af1878e95e26b57febb701f884f513c7b93 (patch)
tree553c3d302a1e9ebf668b7d1629e33b09a525fbbe /gcc/rust/parse/rust-parse.h
parent98d429466bf783ff1a7ac59bf800061d3e67061a (diff)
downloadgcc-69048af1878e95e26b57febb701f884f513c7b93.zip
gcc-69048af1878e95e26b57febb701f884f513c7b93.tar.gz
gcc-69048af1878e95e26b57febb701f884f513c7b93.tar.bz2
Added cfg stripping for ExternalItems
Fixed non-renaming of has_variadic_outer_attrs() Fixed old as_string function for ExternalItem Fixed parse_named_function_param arguments
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r--gcc/rust/parse/rust-parse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h
index e2f3a78..82d8d6f 100644
--- a/gcc/rust/parse/rust-parse.h
+++ b/gcc/rust/parse/rust-parse.h
@@ -230,7 +230,8 @@ private:
parse_extern_block (AST::Visibility vis,
std::vector<AST::Attribute> outer_attrs);
std::unique_ptr<AST::ExternalItem> parse_external_item ();
- AST::NamedFunctionParam parse_named_function_param ();
+ AST::NamedFunctionParam parse_named_function_param (
+ std::vector<AST::Attribute> outer_attrs = std::vector<AST::Attribute> ());
AST::Method parse_method ();
// Expression-related (Pratt parsed)