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/ReferenceToType.cc

    rb87a5ed ra32b204  
    3939    Type::print( os, indent );
    4040    os << "instance of " << typeString() << " " << name << " ";
    41     if( !parameters.empty() ) {
     41    if ( ! parameters.empty() ) {
    4242        os << endl << std::string( indent, ' ' ) << "with parameters" << endl;
    4343        printAll( parameters, os, indent+2 );
     
    5151{
    5252    std::list< Declaration* > found;
    53     for( std::list< Declaration* >::const_iterator i = members.begin(); i != members.end(); ++i ) {
    54         if( (*i)->get_name() == name ) {
     53    for ( std::list< Declaration* >::const_iterator i = members.begin(); i != members.end(); ++i ) {
     54        if ( (*i)->get_name() == name ) {
    5555            found.push_back( *i );
    5656        }
     
    118118    Type::print( os, indent );
    119119    os << "instance of " << typeString() << " " << get_name() << " (" << ( isFtype ? "" : "not" ) << " a function type) ";
    120     if( !parameters.empty() ) {
     120    if ( ! parameters.empty() ) {
    121121        os << endl << std::string( indent, ' ' ) << "with parameters" << endl;
    122122        printAll( parameters, os, indent+2 );
Note: See TracChangeset for help on using the changeset viewer.