Changeset 42107b4 for src/SynTree
- Timestamp:
- Apr 26, 2018, 1:32:53 PM (7 years ago)
- Branches:
- new-env, with_gc
- Children:
- 7a37f258
- Parents:
- 1cdfa82
- git-author:
- Aaron Moss <a3moss@…> (04/25/18 17:44:18)
- git-committer:
- Aaron Moss <a3moss@…> (04/26/18 13:32:53)
- Location:
- src/SynTree
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.cc
r1cdfa82 r42107b4 80 80 } 81 81 82 StaticAssertDecl::~StaticAssertDecl() {83 delete condition;84 delete message;85 }86 87 82 void StaticAssertDecl::print( std::ostream &os, Indenter indent ) const { 88 83 os << "Static Assert with condition: "; -
src/SynTree/Declaration.h
r1cdfa82 r42107b4 364 364 StaticAssertDecl( Expression * condition, ConstantExpr * message ); 365 365 StaticAssertDecl( const StaticAssertDecl & other ); 366 virtual ~StaticAssertDecl();367 366 368 367 virtual StaticAssertDecl * clone() const override { return new StaticAssertDecl( *this ); } -
src/SynTree/Expression.cc
r1cdfa82 r42107b4 268 268 } 269 269 270 KeywordCastExpr::~KeywordCastExpr() {271 delete arg;272 }273 274 270 const std::string & KeywordCastExpr::targetString() const { 275 271 static const std::string targetStrs[] = { -
src/SynTree/Expression.h
r1cdfa82 r42107b4 210 210 KeywordCastExpr( Expression * arg, Target target ); 211 211 KeywordCastExpr( const KeywordCastExpr & other ); 212 virtual ~KeywordCastExpr();213 212 214 213 const std::string & targetString() const; -
src/SynTree/GcTracer.h
r1cdfa82 r42107b4 78 78 } 79 79 80 void postvisit( OffsetofExpr* expr ) { 81 postvisit( static_cast<Expression*>(expr) ); 82 maybeAccept( expr->member, *visitor ); 83 } 84 80 85 void postvisit( UniqueExpr* expr ) { 81 86 postvisit( static_cast<Expression*>(expr) );
Note:
See TracChangeset
for help on using the changeset viewer.