Changeset 4cb935e for src/Parser/TypeData.cc
- Timestamp:
- Dec 1, 2016, 12:46:34 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 78b3f52
- Parents:
- 148f7290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cc
r148f7290 r4cb935e 215 215 break; 216 216 case Builtin: 217 assert( false );218 // newtype->builtin = builtin;217 assert( builtintype == DeclarationNode::Zero || builtintype == DeclarationNode::One ); 218 newtype->builtintype = builtintype; 219 219 break; 220 220 } // switch … … 445 445 case TypeData::Builtin: 446 446 if(td->builtintype == DeclarationNode::Zero) { 447 return new ZeroType( buildQualifiers( td ));447 return new ZeroType( emptyQualifiers ); 448 448 } 449 449 else if(td->builtintype == DeclarationNode::One) { 450 return new OneType( buildQualifiers( td ));450 return new OneType( emptyQualifiers ); 451 451 } 452 452 else {
Note: See TracChangeset
for help on using the changeset viewer.