Changeset 93bbbc4 for src/Parser/DeclarationNode.cc
- Timestamp:
- Jul 14, 2021, 6:35:37 PM (21 months ago)
- Branches:
- enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- e7a63e3
- Parents:
- b16e15e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
rb16e15e r93bbbc4 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Mar 23 08:44:08202113 // Update Count : 11 4912 // Last Modified On : Wed Jul 14 17:36:57 2021 13 // Update Count : 1154 14 14 // 15 15 … … 385 385 newnode->type = new TypeData( basetypeof ? TypeData::Basetypeof : TypeData::Typeof ); 386 386 newnode->type->typeexpr = expr; 387 return newnode; 388 } 389 390 DeclarationNode * DeclarationNode::newVtableType( DeclarationNode * decl ) { 391 DeclarationNode * newnode = new DeclarationNode; 392 newnode->type = new TypeData( TypeData::Vtable ); 393 newnode->setBase( decl->type ); 387 394 return newnode; 388 395 }
Note: See TracChangeset
for help on using the changeset viewer.