Changeset 46f6134 for src/SynTree


Ignore:
Timestamp:
Aug 29, 2016, 12:20:45 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
ad4581b, b542bfb
Parents:
5e644d3e
Message:

Implemented owning scoped map for typedef elimination phase

Location:
src/SynTree
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    r5e644d3e r46f6134  
    153153  public:
    154154        NamedTypeDecl( const std::string &name, DeclarationNode::StorageClass sc, Type *type );
    155         NamedTypeDecl( const TypeDecl &other );
     155        NamedTypeDecl( const NamedTypeDecl &other );
    156156        virtual ~NamedTypeDecl();
    157157
  • src/SynTree/NamedTypeDecl.cc

    r5e644d3e r46f6134  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // NamedTypeDecl.cc -- 
     7// NamedTypeDecl.cc --
    88//
    99// Author           : Richard C. Bilson
     
    2121        : Parent( name, sc, LinkageSpec::Cforall ), base( base ) {}
    2222
    23 NamedTypeDecl::NamedTypeDecl( const TypeDecl &other )
     23NamedTypeDecl::NamedTypeDecl( const NamedTypeDecl &other )
    2424        : Parent( other ), base( maybeClone( other.base ) ) {
    2525        cloneAll( other.parameters, parameters );
     
    3535void NamedTypeDecl::print( std::ostream &os, int indent ) const {
    3636        using namespace std;
    37        
     37
    3838        if ( get_name() != "" ) {
    3939                os << get_name() << ": ";
     
    5959void NamedTypeDecl::printShort( std::ostream &os, int indent ) const {
    6060        using namespace std;
    61        
     61
    6262        if ( get_name() != "" ) {
    6363                os << get_name() << ": ";
Note: See TracChangeset for help on using the changeset viewer.