Changes in src/SynTree/ObjectDecl.cc [cf0941d:68cd1ce]
- File:
-
- 1 edited
-
src/SynTree/ObjectDecl.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ObjectDecl.cc
rcf0941d r68cd1ce 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 4 21:21:12201513 // Update Count : 1 012 // Last Modified On : Sat Jun 13 08:10:16 2015 13 // Update Count : 15 14 14 // 15 15 … … 20 20 #include "utility.h" 21 21 22 ObjectDecl::ObjectDecl( const std::string &name, StorageClass sc, LinkageSpec::Type linkage, Expression *bitfieldWidth, Type *type, Initializer *init )22 ObjectDecl::ObjectDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Type linkage, Expression *bitfieldWidth, Type *type, Initializer *init ) 23 23 : Parent( name, sc, linkage ), type( type ), init( init ), bitfieldWidth( bitfieldWidth ) { 24 24 } … … 43 43 } // if 44 44 45 if ( get_storageClass() != NoStorageClass ) {46 os << storageClassName[ get_storageClass() ] << ' ';45 if ( get_storageClass() != DeclarationNode::NoStorageClass ) { 46 os << DeclarationNode::storageName[ get_storageClass() ] << ' '; 47 47 } // if 48 48 … … 74 74 } // if 75 75 76 if ( get_storageClass() != NoStorageClass ) {77 os << storageClassName[ get_storageClass() ] << ' ';76 if ( get_storageClass() != DeclarationNode::NoStorageClass ) { 77 os << DeclarationNode::storageName[ get_storageClass() ] << ' '; 78 78 } // if 79 79
Note:
See TracChangeset
for help on using the changeset viewer.