Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.h

    r25bd9074 r6b0b624  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Mangler.h --
     7// Mangler.h -- 
    88//
    99// Author           : Richard C. Bilson
    1010// Created On       : Sun May 17 21:44:03 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Aug 19 15:48:46 2015
    13 // Update Count     : 14
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Sat Jul 22 09:45:30 2017
     13// Update Count     : 15
    1414//
    1515
    16 #ifndef MANGLER_H
    17 #define MANGLER_H
     16#pragma once
    1817
    1918#include <sstream>
     
    3938                virtual void visit( PointerType *pointerType );
    4039                virtual void visit( ArrayType *arrayType );
    41                 virtual void visit( ReferenceType *refType );
    4240                virtual void visit( FunctionType *functionType );
    4341                virtual void visit( StructInstType *aggregateUseType );
     
    4947                virtual void visit( ZeroType *zeroType );
    5048                virtual void visit( OneType *oneType );
    51 
     49 
    5250                std::string get_mangleName() { return mangleName.str(); }
    5351          private:
     
    5957                bool mangleOverridable;         ///< Specially mangle overridable built-in methods
    6058                bool typeMode;                  ///< Produce a unique mangled name for a type
    61 
     59 
    6260                Mangler( bool mangleOverridable, bool typeMode );
    6361                Mangler( const Mangler & );
    64 
     62 
    6563                void mangleDecl( DeclarationWithType *declaration );
    6664                void mangleRef( ReferenceToType *refType, std::string prefix );
    6765                void mangleGenericRef( ReferenceToType *refType, std::string prefix );
    68 
     66 
    6967                void printQualifiers( Type *type );
    7068        }; // Mangler
     
    7876} // SymTab
    7977
    80 #endif // MANGLER_H
    81 
    8278// Local Variables: //
    8379// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.