Changeset c3396e0
- Timestamp:
- Mar 9, 2017, 10:33:58 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:
- d3bc0ad
- Parents:
- a7c90d4
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
ra7c90d4 rc3396e0 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 7 08:02:09201713 // Update Count : 93 612 // Last Modified On : Tue Mar 7 17:28:56 2017 13 // Update Count : 937 14 14 // 15 15 … … 359 359 DeclarationNode * newnode = new DeclarationNode; 360 360 newnode->type = new TypeData( TypeData::Pointer ); 361 return newnode->addQualifiers( qualifiers ); 361 if ( qualifiers ) { 362 return newnode->addQualifiers( qualifiers ); 363 } else { 364 return newnode; 365 } // if 362 366 } // DeclarationNode::newPointer 363 367 -
src/Parser/TypeData.h
ra7c90d4 rc3396e0 10 10 // Created On : Sat May 16 15:18:36 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Mar 7 08:03:53 201713 // Update Count : 17 312 // Last Modified On : Wed Mar 8 22:28:33 2017 13 // Update Count : 174 14 14 // 15 15 … … 76 76 DeclarationNode::Length length = DeclarationNode::NoLength; 77 77 DeclarationNode::BuiltinType builtintype = DeclarationNode::NoBuiltinType; 78 78 79 typedef std::bitset< DeclarationNode::NoTypeQualifier > TypeQualifiers; 79 80 TypeQualifiers typeQualifiers; 80 81 DeclarationNode * forall; 81 82 82 // Basic_t basic; 83 Aggregate_t aggregate; 84 AggInst_t aggInst; 85 Array_t array; 86 Enumeration_t enumeration; 87 // Variable_t variable; 88 Function_t function; 89 Symbolic_t symbolic; 90 DeclarationNode * tuple; 91 ExpressionNode * typeexpr; 92 // DeclarationNode::BuiltinType builtin; 83 // Basic_t basic; 84 Aggregate_t aggregate; 85 AggInst_t aggInst; 86 Array_t array; 87 Enumeration_t enumeration; 88 // Variable_t variable; 89 Function_t function; 90 Symbolic_t symbolic; 91 DeclarationNode * tuple; 92 ExpressionNode * typeexpr; 93 93 94 94 TypeData( Kind k = Unknown );
Note: See TracChangeset
for help on using the changeset viewer.