Changeset b8a52f5


Ignore:
Timestamp:
Feb 9, 2018, 10:49:57 AM (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:
538334a
Parents:
4bda2cf
Message:

Fix Mangler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    r4bda2cf rb8a52f5  
    3737                        struct Mangler : public WithShortCircuiting, public WithVisitorRef<Mangler> {
    3838                                Mangler( bool mangleOverridable, bool typeMode, bool mangleGenericParams );
    39                                 Mangler( const Mangler & );
     39                                Mangler( const Mangler & ) = delete;
    4040
    4141                                void previsit( BaseSyntaxNode * ) { visit_children = false; }
     
    9999                        Mangler::Mangler( bool mangleOverridable, bool typeMode, bool mangleGenericParams )
    100100                                : nextVarNum( 0 ), isTopLevel( true ), mangleOverridable( mangleOverridable ), typeMode( typeMode ), mangleGenericParams( mangleGenericParams ) {}
    101 
    102                         Mangler::Mangler( const Mangler &rhs ) : mangleName() {
    103                                 varNums = rhs.varNums;
    104                                 nextVarNum = rhs.nextVarNum;
    105                                 isTopLevel = rhs.isTopLevel;
    106                                 mangleOverridable = rhs.mangleOverridable;
    107                                 typeMode = rhs.typeMode;
    108                         }
    109101
    110102                        void Mangler::mangleDecl( DeclarationWithType * declaration ) {
Note: See TracChangeset for help on using the changeset viewer.