Changeset ea23d10 for src/SymTab
- Timestamp:
- Feb 8, 2017, 2:35:08 PM (9 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:
- e994912, f923b5f
- Parents:
- 424931d (diff), 4fbdd1e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/SymTab
- Files:
-
- 2 edited
-
Mangler.cc (modified) (1 diff)
-
Validate.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
r424931d rea23d10 172 172 for ( std::list< Expression* >::const_iterator param = params.begin(); param != params.end(); ++param ) { 173 173 TypeExpr *paramType = dynamic_cast< TypeExpr* >( *param ); 174 assert (paramType && "Aggregate parameters should be type expressions");174 assertf(paramType, "Aggregate parameters should be type expressions: %s", toString(*param).c_str()); 175 175 maybeAccept( paramType->get_type(), *this ); 176 176 } -
src/SymTab/Validate.cc
r424931d rea23d10 696 696 FunctionDecl * newDecl = new FunctionDecl( ret->get_name(), ret->get_storageClass(), ret->get_linkage(), funtype, 0, ret->get_isInline(), ret->get_isNoreturn(), objDecl->get_attributes() ); 697 697 objDecl->get_attributes().clear(); 698 objDecl->set_type( nullptr ); 698 699 delete objDecl; 699 700 return newDecl;
Note:
See TracChangeset
for help on using the changeset viewer.