- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/LabelGenerator.cc
r888cbe4 rde62360d 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // LabelGenerator.cc -- 7 // LabelGenerator.cc -- 8 8 // 9 9 // Author : Rodolfo G. Esteves … … 18 18 19 19 #include "LabelGenerator.h" 20 #include "SynTree/Label.h"21 #include "SynTree/Attribute.h"22 20 23 21 namespace ControlStruct { … … 35 33 os << "__L" << current++ << "__" << suffix; 36 34 std::string ret = os.str(); 37 Label l( ret ); 38 l.get_attributes().push_back( new Attribute("unused") ); 39 return l; 35 return Label( ret ); 40 36 } 41 37 } // namespace ControlStruct
Note:
See TracChangeset
for help on using the changeset viewer.