#include <annotator_i.h>
Inheritance diagram for Typedef_name_reader:
Public Methods | |
Typedef_name_reader (Abstract_scope *scope) | |
Ptree * | get_name () const |
void | declare_variable (Type type, Ptree *name, Ptree *, Ptree *) |
Private Attributes | |
Ptree * | name_out |
When defining an alias to an unnamed type, that unnamed type is named by the typedef name (7.1.3p5). We simply plug an "int" into parse_declarator_list, and if we get out an "int" again, we found our type.
Definition at line 53 of file annotator_i.h.
|
Definition at line 56 of file annotator_i.h. |
|
Implements Declaration_reader. Definition at line 230 of file annotator.cc. References name_out. |
|
Definition at line 58 of file annotator_i.h. Referenced by Annotator::visit_typedef(). |
|
Definition at line 54 of file annotator_i.h. Referenced by declare_variable(). |