diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-10-29 22:11:41 +0800 |
---|---|---|
committer | SimplyTheOther <simplytheother@gmail.com> | 2020-12-08 21:10:18 +0800 |
commit | 69048af1878e95e26b57febb701f884f513c7b93 (patch) | |
tree | 553c3d302a1e9ebf668b7d1629e33b09a525fbbe /gcc/rust/parse/rust-parse.h | |
parent | 98d429466bf783ff1a7ac59bf800061d3e67061a (diff) | |
download | gcc-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.h | 3 |
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) |