Changes in src/Parser/DeclarationNode.cc [2d019af:b66d14a]
- File:
-
- 1 edited
-
src/Parser/DeclarationNode.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r2d019af rb66d14a 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 12 18:35:37 202113 // Update Count : 11 4112 // Last Modified On : Mon Jan 11 20:58:07 2021 13 // Update Count : 1137 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;432 426 return newnode; 433 427 } … … 1078 1072 return new AsmDecl( strict_dynamic_cast<AsmStmt *>( asmStmt->build() ) ); 1079 1073 } // if 1080 if ( directiveStmt ) {1081 return new DirectiveDecl( strict_dynamic_cast<DirectiveStmt *>( directiveStmt->build() ) );1082 } // if1083 1074 1084 1075 if ( variable.tyClass != TypeDecl::NUMBER_OF_KINDS ) {
Note:
See TracChangeset
for help on using the changeset viewer.