Changes in src/SynTree/Expression.cc [c0bf94e:9bfc9da]
- File:
-
- 1 edited
-
src/SynTree/Expression.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
rc0bf94e r9bfc9da 271 271 } 272 272 273 CastExpr::CastExpr( Expression *arg , Type *toType, bool isGenerated ) : Expression(), arg(arg), isGenerated( isGenerated) {273 CastExpr::CastExpr( Expression *arg_, Type *toType ) : Expression(), arg(arg_) { 274 274 set_result(toType); 275 275 } 276 276 277 CastExpr::CastExpr( Expression *arg , bool isGenerated ) : Expression(), arg(arg), isGenerated( isGenerated) {277 CastExpr::CastExpr( Expression *arg_ ) : Expression(), arg(arg_) { 278 278 set_result( new VoidType( Type::Qualifiers() ) ); 279 279 } 280 280 281 CastExpr::CastExpr( const CastExpr &other ) : Expression( other ), arg( maybeClone( other.arg ) ) , isGenerated( other.isGenerated ){281 CastExpr::CastExpr( const CastExpr &other ) : Expression( other ), arg( maybeClone( other.arg ) ) { 282 282 } 283 283
Note:
See TracChangeset
for help on using the changeset viewer.