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/InitTweak/BasicInit.cc

    rb87a5ed ra32b204  
    5050    ObjectDecl *odecl = 0;
    5151
    52     if( ( odecl = dynamic_cast<ObjectDecl *>(declStmt->get_decl()) ) != 0 ){
     52    if ( ( odecl = dynamic_cast<ObjectDecl *>(declStmt->get_decl()) ) != 0 ){
    5353
    5454      Initializer *init = odecl->get_init();
     
    133133
    134134    ReferenceToType *reftype;
    135     if( (reftype = dynamic_cast< StructInstType * >( objdecl->get_type() )) != 0 ){
     135    if ( (reftype = dynamic_cast< StructInstType * >( objdecl->get_type() )) != 0 ){
    136136      StructDecl *strDecl = index->lookupStruct( reftype->get_name() );
    137137      if ( strDecl != 0 ) {
     
    169169
    170170      if ( li != 0 ) {
    171         for( std::list<Initializer *>::iterator i = li->begin_initializers();
     171        for ( std::list<Initializer *>::iterator i = li->begin_initializers();
    172172                                                         i != li->end_initializers();
    173173              i++) {
     
    181181                            std::back_inserter( des ), cast_ptr<Expression, NameExpr > );
    182182
    183             for( std::list<NameExpr *>::iterator j = des.begin(); j != des.end(); j++ ) {
     183            for ( std::list<NameExpr *>::iterator j = des.begin(); j != des.end(); j++ ) {
    184184              // check for existence of the element
    185185
     
    230230    if ( col->isComposite() ) {
    231231      VariousNames *vc = dynamic_cast< VariousNames * >( col );
    232       for( VariousNames::key_iterator it = vc->keys_begin(); it != vc->keys_end(); it++ ) {
     232      for ( VariousNames::key_iterator it = vc->keys_begin(); it != vc->keys_end(); it++ ) {
    233233        prefix.push_back( *it );
    234234        if ( (*assoc)[ *it ] != 0 )
Note: See TracChangeset for help on using the changeset viewer.