Changeset 8686f31 for src/SymTab/Validate.cc
- Timestamp:
- Jul 7, 2015, 10:48:14 AM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 0a0a65b, 413f7f8
- Parents:
- 28a8cf9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r28a8cf9 r8686f31 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Fri Jul 03 13:17:07201513 // Update Count : 13 112 // Last Modified On : Tue Jul 07 10:41:23 2015 13 // Update Count : 136 14 14 // 15 15 … … 560 560 // E ?=?(E volatile *, E) 561 561 Type *etype = refType->clone(); 562 etype->get_qualifiers() += Type::Qualifiers(false, true, false, false, false, false);562 // etype->get_qualifiers() += Type::Qualifiers(false, true, false, false, false, false); 563 563 564 564 ObjectDecl *dstParam = new ObjectDecl( "_dst", DeclarationNode::NoStorageClass, LinkageSpec::Cforall, 0, new PointerType( Type::Qualifiers(), etype ), 0 ); … … 589 589 590 590 LibCfa::makeLibCfa( assigns ); 591 592 // need to remove the prototypes, since these can appear nested in a routine 593 for (int start = 0, end = assigns.size()/2; start < end; start++) { 594 delete assigns.front(); 595 assigns.pop_front(); 596 } 591 597 592 598 declsToAdd.insert( declsToAdd.begin(), assigns.begin(), assigns.end() );
Note: See TracChangeset
for help on using the changeset viewer.