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/SynTree/ApplicationExpr.cc

    rb87a5ed ra32b204  
    1616ParamEntry::operator=( const ParamEntry &other )
    1717{
    18     if( &other == this ) return *this;
     18    if ( &other == this ) return *this;
    1919    decl = other.decl;
    2020    actualType = maybeClone( other.actualType );
     
    3939    assert( function );
    4040   
    41     for( std::list< DeclarationWithType* >::const_iterator i = function->get_returnVals().begin(); i != function->get_returnVals().end(); ++i ) {
     41    for ( std::list< DeclarationWithType* >::const_iterator i = function->get_returnVals().begin(); i != function->get_returnVals().end(); ++i ) {
    4242        get_results().push_back( (*i)->get_type()->clone() );
    4343    }
     
    6161    os << std::string( indent, ' ' ) << "Application of" << std::endl;
    6262    function->print( os, indent+2 );
    63     if( !args.empty() ) {
     63    if ( ! args.empty() ) {
    6464        os << std::string( indent, ' ' ) << "to arguments" << std::endl;
    6565        printAll( args, os, indent+2 );
    6666    }
    67     if( !inferParams.empty() ) {
     67    if ( ! inferParams.empty() ) {
    6868        os << std::string(indent, ' ') << "with inferred parameters:" << std::endl;
    69         for( InferredParams::const_iterator i = inferParams.begin(); i != inferParams.end(); ++i ) {
     69        for ( InferredParams::const_iterator i = inferParams.begin(); i != inferParams.end(); ++i ) {
    7070            os << std::string(indent+2, ' ');
    7171            Declaration::declFromId( i->second.decl )->printShort( os, indent+2 );
Note: See TracChangeset for help on using the changeset viewer.