Changes in src/SynTree/FunctionDecl.cc [a7c90d4:ddfd945]
- File:
-
- 1 edited
-
src/SynTree/FunctionDecl.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/FunctionDecl.cc
ra7c90d4 rddfd945 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue Mar 7 07:54:58201713 // Update Count : 6812 // Last Modified On : Thu Mar 16 08:33:41 2017 13 // Update Count : 74 14 14 // 15 15 … … 26 26 extern bool translation_unit_nomain; 27 27 28 FunctionDecl::FunctionDecl( const std::string &name, DeclarationNode::StorageClasses scs, LinkageSpec::Spec linkage, FunctionType *type, CompoundStmt *statements, std::list< Attribute * > attributes, DeclarationNode::FuncSpecifiers fs )28 FunctionDecl::FunctionDecl( const std::string &name, Type::StorageClasses scs, LinkageSpec::Spec linkage, FunctionType *type, CompoundStmt *statements, std::list< Attribute * > attributes, Type::FuncSpecifiers fs ) 29 29 : Parent( name, scs, linkage, attributes, fs ), type( type ), statements( statements ) { 30 30 // hack forcing the function "main" to have Cforall linkage to replace main even if it is inside an extern … … 65 65 printAll( get_attributes(), os, indent ); 66 66 67 DeclarationNode::print_StorageClass( os, get_storageClasses());68 DeclarationNode::print_FuncSpec( os, get_funcSpec());67 get_storageClasses().print( os ); 68 get_funcSpec().print( os ); 69 69 70 70 if ( get_type() ) { … … 91 91 // xxx - should printShort print attributes? 92 92 93 DeclarationNode::print_StorageClass( os, get_storageClasses());94 DeclarationNode::print_FuncSpec( os, get_funcSpec());93 get_storageClasses().print( os ); 94 get_funcSpec().print( os ); 95 95 96 96 if ( get_type() ) {
Note:
See TracChangeset
for help on using the changeset viewer.