#include <decl_read.h>
Inheritance diagram for Function_declaration_reader:
Public Methods | |
Function_type_maker & | get_maker () |
Function_declaration_reader (Abstract_scope *s, Arg_vec *args) | |
Constructor. More... | |
void | declare_variable (Type type, Ptree *name, Ptree *initializer, Ptree *bitsize) |
void | add_ellipsis () |
Private Attributes | |
Function_type_maker | maker |
bool | had_void_arg |
bool | had_parameter |
Arg_vec * | args |
This class will add all parameters to a Function_type_maker.
Definition at line 120 of file decl_read.h.
|
Constructor.
Definition at line 325 of file decl_read.cc. |
|
Definition at line 363 of file decl_read.cc. References Function_type_maker::add_ellipsis(), compile_error(), and maker. Referenced by Declaration_reader::parse_declarator_internal(). |
|
Implements Declaration_reader. Definition at line 334 of file decl_read.cc. References Function_type_maker::add_parameter(), args, compile_error(), Type::get_unqualified_type(), had_parameter, had_void_arg, and maker. |
|
Definition at line 125 of file decl_read.h. Referenced by Declaration_reader::parse_declarator_internal(). |
|
Definition at line 123 of file decl_read.h. Referenced by declare_variable(). |
|
Definition at line 122 of file decl_read.h. Referenced by declare_variable(). |
|
Definition at line 122 of file decl_read.h. Referenced by declare_variable(). |
|
Definition at line 121 of file decl_read.h. Referenced by add_ellipsis(), and declare_variable(). |