Ignore:
Timestamp:
May 17, 2015, 1:19:35 PM (9 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, with_gc
Children:
0dd3a2f
Parents:
b87a5ed
Message:

licencing: second groups of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/SymTab/ImplementationType.cc

    rb87a5ed ra32b204  
    4545  ImplementationType implementor( indexer );
    4646  type->accept( implementor );
    47   if( implementor.get_result() == 0 ) {
     47  if ( implementor.get_result() == 0 ) {
    4848    return type->clone();
    4949  } else {
     
    8787{
    8888///   FunctionType *newType = functionType->clone();
    89 ///   for( std::list< DeclarationWithType* >::iterator i = newType->get_parameters().begin(); i != newType->get_parameters().end(); ++i ) {
     89///   for ( std::list< DeclarationWithType* >::iterator i = newType->get_parameters().begin(); i != newType->get_parameters().end(); ++i ) {
    9090///     i->set_type( implementationType( i->get_type(), indexer ) );
    9191///   }
    92 ///   for( std::list< DeclarationWithType* >::iterator i = newType->get_parameters().begin(); i != newType->get_parameters().end(); ++i ) {
     92///   for ( std::list< DeclarationWithType* >::iterator i = newType->get_parameters().begin(); i != newType->get_parameters().end(); ++i ) {
    9393///     i->set_type( implementationType( i->get_type(), indexer ) );
    9494///   }
     
    119119{
    120120  NamedTypeDecl *typeDecl = indexer.lookupType( inst->get_name() );
    121   if( typeDecl && typeDecl->get_base() ) {
     121  if ( typeDecl && typeDecl->get_base() ) {
    122122    Type *base = implementationType( typeDecl->get_base(), indexer );
    123123    base->get_qualifiers() += inst->get_qualifiers();
     
    130130{
    131131  TupleType *newType = new TupleType( Type::Qualifiers() );
    132   for( std::list< Type* >::iterator i = tupleType->get_types().begin(); i != tupleType->get_types().end(); ++i ) {
     132  for ( std::list< Type* >::iterator i = tupleType->get_types().begin(); i != tupleType->get_types().end(); ++i ) {
    133133    Type *implType = implementationType( *i, indexer );
    134134    implType->get_qualifiers() += tupleType->get_qualifiers();
Note: See TracChangeset for help on using the changeset viewer.