Ignore:
Timestamp:
Mar 30, 2016, 12:51:22 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, 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, with_gc
Children:
5b2f5bb
Parents:
6943f051
Message:

change makeEnumAssignment to makeEnumFunctions (ctor/dtors to be written)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypeData.cc

    r6943f051 r4cc4286  
    441441                        dtorType->get_parameters().push_back( new ObjectDecl( "", DeclarationNode::NoStorageClass, LinkageSpec::Cforall, 0, new PointerType( Type::Qualifiers(), new TypeInstType( Type::Qualifiers(), (*i)->get_name(), *i ) ), 0 ) );
    442442                        (*i)->get_assertions().push_front( new FunctionDecl( "^?{}", DeclarationNode::NoStorageClass, LinkageSpec::Cforall, dtorType, 0, false, false ) );
     443
    443444                        // add copy ctor:  void ?{}(T *, T)
    444445                        FunctionType *copyCtorType = new FunctionType( Type::Qualifiers(), false );
Note: See TracChangeset for help on using the changeset viewer.