Changes in src/SynTree/Expression.cc [cd6a6ff:312029a]
- File:
-
- 1 edited
-
src/SynTree/Expression.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
rcd6a6ff r312029a 30 30 #include "Type.h" // for Type, BasicType, Type::Qualifiers 31 31 #include "TypeSubstitution.h" // for TypeSubstitution 32 #include "CompilationState.h" // for deterministic_output33 32 34 33 #include "GenPoly/Lvalue.h" … … 71 70 printInferParams( inferParams, os, indent+1, 0 ); 72 71 73 if ( result ) {74 os << std::endl << indent << "with resolved type:" << std::endl;75 os << (indent+1);76 result->print( os, indent+1 );77 }78 79 72 if ( env ) { 80 73 os << std::endl << indent << "... with environment:" << std::endl; … … 300 293 } 301 294 302 KeywordCastExpr::KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target ) : Expression(), arg(arg), target( target ) {} 303 KeywordCastExpr::KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target, const KeywordCastExpr::Concrete & concrete_target ) : Expression(), arg(arg), target( target ), concrete_target(concrete_target) {} 304 305 KeywordCastExpr::KeywordCastExpr( const KeywordCastExpr & other ) : Expression( other ), arg( maybeClone( other.arg ) ), target( other.target ) {} 295 KeywordCastExpr::KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target ) : Expression(), arg(arg), target( target ) { 296 } 297 298 KeywordCastExpr::KeywordCastExpr( const KeywordCastExpr & other ) : Expression( other ), arg( maybeClone( other.arg ) ), target( other.target ) { 299 } 306 300 307 301 KeywordCastExpr::~KeywordCastExpr() {
Note:
See TracChangeset
for help on using the changeset viewer.