Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Lvalue.cc

    rbf7b6015 r1a4bef3  
    465465                                        return ret;
    466466                                }
    467                         } else if ( CastExpr * castExpr = dynamic_cast< CastExpr * > ( arg ) ) {
    468                                 // need to move cast to pointer type out a level since address of pointer
    469                                 // is not valid C code (can be introduced in prior passes, e.g., InstantiateGeneric)
    470                                 if ( InitTweak::getPointerBase( castExpr->result ) ) {
    471                                         addrExpr->arg = castExpr->arg;
    472                                         castExpr->arg = addrExpr;
    473                                         castExpr->result = new PointerType( Type::Qualifiers(), castExpr->result );
    474                                         return castExpr;
    475                                 }
    476467                        }
    477468                        return addrExpr;
Note: See TracChangeset for help on using the changeset viewer.