Changeset 70a1c3ae for src/CodeGen/CodeGenerator.cc
- Timestamp:
- Jan 29, 2019, 4:09:59 PM (6 years ago)
- Branches:
- no_list
- Children:
- bee0694
- Parents:
- ede87c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
rede87c6 r70a1c3ae 129 129 } 130 130 131 void CodeGenerator::genAttributes( list< Attribute * > & attributes ) {131 void CodeGenerator::genAttributes( vector< Attribute * > & attributes ) { 132 132 if ( attributes.empty() ) return; 133 133 output << "__attribute__ (("; 134 for ( list< Attribute * >::iterator attr( attributes.begin() );; ) {134 for ( vector< Attribute * >::iterator attr( attributes.begin() );; ) { 135 135 output << (*attr)->name; 136 136 if ( ! (*attr)->parameters.empty() ) {
Note: See TracChangeset
for help on using the changeset viewer.