Ignore:
Timestamp:
Jan 12, 2017, 11:31:57 AM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
3fe34ae
Parents:
075734f
Message:

Replace user main with custom main, prototype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.h

    r075734f r0270824  
    2727                /// Mangle syntax tree object; primary interface to clients
    2828                template< typename SynTreeClass >
    29             static std::string mangle( SynTreeClass *decl, bool mangleOverridable = true );
     29            static std::string mangle( SynTreeClass *decl, bool mangleOverridable = true, bool typeMode = false );
    3030                /// Mangle a type name; secondary interface
    3131                static std::string mangleType( Type* ty );
     
    7070
    7171        template< typename SynTreeClass >
    72         std::string Mangler::mangle( SynTreeClass *decl, bool mangleOverridable ) {
    73                 Mangler mangler( mangleOverridable, false );
     72        std::string Mangler::mangle( SynTreeClass *decl, bool mangleOverridable, bool typeMode ) {
     73                Mangler mangler( mangleOverridable, typeMode );
    7474                maybeAccept( decl, mangler );
    7575                return mangler.get_mangleName();
Note: See TracChangeset for help on using the changeset viewer.