Changeset 96f9ef5 for src/SymTab


Ignore:
Timestamp:
Sep 12, 2017, 5:10:27 PM (7 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:
a0c7dc36
Parents:
93389c1
Message:

Modify TypeDecl? mutate to return a Declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    r93389c1 r96f9ef5  
    752752
    753753                typedeclNames[ typeDecl->get_name() ] = typeDecl;
    754                 return Mutator::mutate( typeDecl );
     754                return dynamic_cast<TypeDecl *>( Mutator::mutate( typeDecl ) );
    755755        }
    756756
Note: See TracChangeset for help on using the changeset viewer.