Changes in src/SynTree/ObjectDecl.cc [faddbd8:dd020c0]
- File:
-
- 1 edited
-
src/SynTree/ObjectDecl.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ObjectDecl.cc
rfaddbd8 rdd020c0 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Oct 1 23:05:56 201613 // Update Count : 3212 // Last Modified On : Fri Mar 3 20:59:27 2017 13 // Update Count : 45 14 14 // 15 15 … … 22 22 #include "Statement.h" 23 23 24 ObjectDecl::ObjectDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Spec linkage, Expression *bitfieldWidth, Type *type, Initializer *init, const std::list< Attribute * > attributes, bool isInline, bool isNoreturn ) 25 : Parent( name, sc, linkage, attributes ), type( type ), init( init ), bitfieldWidth( bitfieldWidth ) { 26 set_isInline( isInline ); 27 set_isNoreturn( isNoreturn ); 24 ObjectDecl::ObjectDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Spec linkage, Expression *bitfieldWidth, Type *type, Initializer *init, const std::list< Attribute * > attributes, DeclarationNode::FuncSpec fs ) 25 : Parent( name, sc, linkage, attributes, fs ), type( type ), init( init ), bitfieldWidth( bitfieldWidth ) { 26 set_functionSpecifiers( fs ); 28 27 } 29 28 … … 50 49 51 50 if ( get_storageClass() != DeclarationNode::NoStorageClass ) { 52 os << DeclarationNode::storage Name[ get_storageClass() ] << ' ';51 os << DeclarationNode::storageClassNames[ get_storageClass() ] << ' '; 53 52 } // if 54 53 … … 86 85 87 86 if ( get_storageClass() != DeclarationNode::NoStorageClass ) { 88 os << DeclarationNode::storage Name[ get_storageClass() ] << ' ';87 os << DeclarationNode::storageClassNames[ get_storageClass() ] << ' '; 89 88 } // if 90 89
Note:
See TracChangeset
for help on using the changeset viewer.