Ignore:
Timestamp:
Jul 12, 2017, 1:58:00 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
02d62bb
Parents:
3268a58
Message:

More cleanup on the headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.h

    r3268a58 r30f9072  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Mangler.h -- 
     7// Mangler.h --
    88//
    99// Author           : Richard C. Bilson
     
    1717#define MANGLER_H
    1818
    19 #include <sstream>
    20 #include "SynTree/SynTree.h"
    21 #include "SynTree/Visitor.h"
     19#include <map>                // for map, map<>::value_compare
     20#include <sstream>            // for ostringstream
     21#include <string>             // for string
     22#include <utility>            // for pair
     23
     24#include "SynTree/SynTree.h"  // for Types
     25#include "SynTree/Visitor.h"  // for Visitor, maybeAccept
    2226
    2327namespace SymTab {
     
    4852                virtual void visit( ZeroType *zeroType );
    4953                virtual void visit( OneType *oneType );
    50  
     54
    5155                std::string get_mangleName() { return mangleName.str(); }
    5256          private:
     
    5862                bool mangleOverridable;         ///< Specially mangle overridable built-in methods
    5963                bool typeMode;                  ///< Produce a unique mangled name for a type
    60  
     64
    6165                Mangler( bool mangleOverridable, bool typeMode );
    6266                Mangler( const Mangler & );
    63  
     67
    6468                void mangleDecl( DeclarationWithType *declaration );
    6569                void mangleRef( ReferenceToType *refType, std::string prefix );
    6670                void mangleGenericRef( ReferenceToType *refType, std::string prefix );
    67  
     71
    6872                void printQualifiers( Type *type );
    6973        }; // Mangler
Note: See TracChangeset for help on using the changeset viewer.