Changeset dbe8f244


Ignore:
Timestamp:
Feb 7, 2017, 1:01:29 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
fe26fbf
Parents:
064cb18
Message:

move function type to function decl when replacing function typedefs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    r064cb18 rdbe8f244  
    639639                        FunctionDecl * newDecl = new FunctionDecl( ret->get_name(), ret->get_storageClass(), ret->get_linkage(), funtype, 0, ret->get_isInline(), ret->get_isNoreturn(), objDecl->get_attributes() );
    640640                        objDecl->get_attributes().clear();
     641                        objDecl->set_type( nullptr );
    641642                        delete objDecl;
    642643                        return newDecl;
Note: See TracChangeset for help on using the changeset viewer.