Changeset 4ef08f7 for src/SynTree
- Timestamp:
- Aug 31, 2020, 1:54:40 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- eb67b47
- Parents:
- 207c7330
- Location:
- src/SynTree
- Files:
-
- 2 edited
-
Expression.cc (modified) (1 diff)
-
Expression.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r207c7330 r4ef08f7 302 302 } 303 303 304 KeywordCastExpr::KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target ) : Expression(), arg(arg), target( target ) { 305 } 306 307 KeywordCastExpr::KeywordCastExpr( const KeywordCastExpr & other ) : Expression( other ), arg( maybeClone( other.arg ) ), target( other.target ) { 308 } 304 KeywordCastExpr::KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target ) : Expression(), arg(arg), target( target ) {} 305 KeywordCastExpr::KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target, const KeywordCastExpr::Concrete & concrete_target ) : Expression(), arg(arg), target( target ), concrete_target(concrete_target) {} 306 307 KeywordCastExpr::KeywordCastExpr( const KeywordCastExpr & other ) : Expression( other ), arg( maybeClone( other.arg ) ), target( other.target ) {} 309 308 310 309 KeywordCastExpr::~KeywordCastExpr() { -
src/SynTree/Expression.h
r207c7330 r4ef08f7 248 248 249 249 KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target ); 250 KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target, const Concrete & concrete_target ); 250 251 KeywordCastExpr( const KeywordCastExpr & other ); 251 252 virtual ~KeywordCastExpr();
Note:
See TracChangeset
for help on using the changeset viewer.