Changeset af746cc for src/AST/Decl.cpp
- Timestamp:
- Apr 15, 2024, 12:03:53 PM (7 weeks ago)
- Branches:
- master
- Children:
- dc58e5d
- Parents:
- d9bad51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.cpp
rd9bad51 raf746cc 169 169 } 170 170 171 const std::string EnumDecl::getUnmangeldArrayName( const ast::EnumAttribute attr ) const { 172 switch( attr ) { 173 case ast::EnumAttribute::Value: return "values_" + name ; 174 case ast::EnumAttribute::Label: return "labels_" + name; 175 default: /* Posn does not generate array */ 176 return ""; 177 } 178 } 179 171 180 } 172 181
Note: See TracChangeset
for help on using the changeset viewer.