Ignore:
Timestamp:
May 19, 2015, 4:58:14 PM (11 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, stuck-waitfor-destruct, with_gc
Children:
843054c2
Parents:
01aeade
Message:

licencing: sixth groups of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/ResolvExpr/ResolveTypeof.cc

    r01aeade ra08ba92  
    1010// Created On       : Sun May 17 12:12:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun May 17 12:13:38 2015
    13 // Update Count     : 2
     12// Last Modified On : Tue May 19 16:49:04 2015
     13// Update Count     : 3
    1414//
    1515
     
    2323
    2424namespace ResolvExpr {
    25     namespace {
     25        namespace {
    2626#if 0
    2727                void
     
    3434                }
    3535#endif
    36     }
     36        }
    3737
    38     class ResolveTypeof : public Mutator {
    39       public:
     38        class ResolveTypeof : public Mutator {
     39          public:
    4040                ResolveTypeof( const SymTab::Indexer &indexer ) : indexer( indexer ) {}
    4141                Type *mutate( TypeofType *typeofType );
    4242
    43       private:
     43          private:
    4444                const SymTab::Indexer &indexer;
    45     };
     45        };
    4646
    47     Type *resolveTypeof( Type *type, const SymTab::Indexer &indexer ) {
     47        Type *resolveTypeof( Type *type, const SymTab::Indexer &indexer ) {
    4848                ResolveTypeof mutator( indexer );
    4949                return type->acceptMutator( mutator );
    50     }
     50        }
    5151
    52     Type *ResolveTypeof::mutate( TypeofType *typeofType ) {
     52        Type *ResolveTypeof::mutate( TypeofType *typeofType ) {
    5353#if 0
    5454                std::cout << "resolving typeof: ";
     
    7171                } // if
    7272                return typeofType;
    73     }
     73        }
    7474} // namespace ResolvExpr
    7575
Note: See TracChangeset for help on using the changeset viewer.