Ignore:
Timestamp:
Aug 24, 2016, 1:55:39 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, 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:
3906301, 4e2b9710, 60aa49a7, a2a8d2a6
Parents:
0555f4b
Message:

add option to CodeGen? to output unmangled name, add ctorWarnings test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    r0555f4b r486341f  
    3030                static int tabsize;
    3131
    32                 CodeGenerator( std::ostream &os );
     32                CodeGenerator( std::ostream &os, bool mangle = true );
    3333                CodeGenerator( std::ostream &os, std::string, int indent = 0, bool infun = false );
    3434                CodeGenerator( std::ostream &os, char *, int indent = 0, bool infun = false );
     
    114114                std::ostream &output;
    115115                LabelPrinter printLabels;
     116                bool mangle = true;
    116117
    117118                void printDesignators( std::list< Expression * > & );
     
    119120                void handleAggregate( AggregateDecl *aggDecl );
    120121                void handleTypedef( NamedTypeDecl *namedType );
     122                std::string mangleName( DeclarationWithType * decl );
    121123        }; // CodeGenerator
    122124
Note: See TracChangeset for help on using the changeset viewer.