Changes in src/Parser/DeclarationNode.cc [b66d14a:2d019af]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
rb66d14a r2d019af 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jan 11 20:58:07 202113 // Update Count : 11 3712 // Last Modified On : Fri Mar 12 18:35:37 2021 13 // Update Count : 1141 14 14 // 15 15 … … 424 424 newnode->attributes.push_back( new Attribute( *name, exprs ) ); 425 425 delete name; 426 return newnode; 427 } 428 429 DeclarationNode * DeclarationNode::newDirectiveStmt( StatementNode * stmt ) { 430 DeclarationNode * newnode = new DeclarationNode; 431 newnode->directiveStmt = stmt; 426 432 return newnode; 427 433 } … … 1072 1078 return new AsmDecl( strict_dynamic_cast<AsmStmt *>( asmStmt->build() ) ); 1073 1079 } // if 1080 if ( directiveStmt ) { 1081 return new DirectiveDecl( strict_dynamic_cast<DirectiveStmt *>( directiveStmt->build() ) ); 1082 } // if 1074 1083 1075 1084 if ( variable.tyClass != TypeDecl::NUMBER_OF_KINDS ) {
Note:
See TracChangeset
for help on using the changeset viewer.