Changes in src/SynTree/FunctionDecl.cc [ddfd945:a7c90d4]
- File:
-
- 1 edited
-
src/SynTree/FunctionDecl.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/FunctionDecl.cc
rddfd945 ra7c90d4 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Mar 16 08:33:41201713 // Update Count : 7412 // Last Modified On : Tue Mar 7 07:54:58 2017 13 // Update Count : 68 14 14 // 15 15 … … 26 26 extern bool translation_unit_nomain; 27 27 28 FunctionDecl::FunctionDecl( const std::string &name, Type::StorageClasses scs, LinkageSpec::Spec linkage, FunctionType *type, CompoundStmt *statements, std::list< Attribute * > attributes, Type::FuncSpecifiers fs )28 FunctionDecl::FunctionDecl( const std::string &name, DeclarationNode::StorageClasses scs, LinkageSpec::Spec linkage, FunctionType *type, CompoundStmt *statements, std::list< Attribute * > attributes, DeclarationNode::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 get_storageClasses().print( os);68 get_funcSpec().print( os);67 DeclarationNode::print_StorageClass( os, get_storageClasses() ); 68 DeclarationNode::print_FuncSpec( os, get_funcSpec() ); 69 69 70 70 if ( get_type() ) { … … 91 91 // xxx - should printShort print attributes? 92 92 93 get_storageClasses().print( os);94 get_funcSpec().print( os);93 DeclarationNode::print_StorageClass( os, get_storageClasses() ); 94 DeclarationNode::print_FuncSpec( os, get_funcSpec() ); 95 95 96 96 if ( get_type() ) {
Note:
See TracChangeset
for help on using the changeset viewer.