Changes in src/GenPoly/Box.cc [1f370451:8dceeb7]
- File:
-
- 1 edited
-
src/GenPoly/Box.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
r1f370451 r8dceeb7 855 855 DeclarationWithType *adapteeDecl = adapterType->get_parameters().front(); 856 856 adapteeDecl->set_name( "_adaptee" ); 857 // do not carry over attributes to real type parameters/return values858 for ( DeclarationWithType * dwt : realType->parameters ) {859 deleteAll( dwt->get_type()->attributes );860 dwt->get_type()->attributes.clear();861 }862 for ( DeclarationWithType * dwt : realType->returnVals ) {863 deleteAll( dwt->get_type()->attributes );864 dwt->get_type()->attributes.clear();865 }866 857 ApplicationExpr *adapteeApp = new ApplicationExpr( new CastExpr( new VariableExpr( adapteeDecl ), new PointerType( Type::Qualifiers(), realType ) ) ); 867 858 Statement *bodyStmt;
Note:
See TracChangeset
for help on using the changeset viewer.