Ignore:
Timestamp:
Apr 25, 2018, 4:55:53 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
42107b4
Parents:
2efe4b8 (diff), 9d5fb67 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/master' into with_gc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    r2efe4b8 r1cdfa82  
    357357};
    358358
     359class StaticAssertDecl : public Declaration {
     360public:
     361        Expression * condition;
     362        ConstantExpr * message;   // string literal
     363
     364        StaticAssertDecl( Expression * condition, ConstantExpr * message );
     365        StaticAssertDecl( const StaticAssertDecl & other );
     366        virtual ~StaticAssertDecl();
     367
     368        virtual StaticAssertDecl * clone() const override { return new StaticAssertDecl( *this ); }
     369        virtual void accept( Visitor &v ) override { v.visit( this ); }
     370        virtual StaticAssertDecl * acceptMutator( Mutator &m )  override { return m.mutate( this ); }
     371        virtual void print( std::ostream &os, Indenter indent = {} ) const override;
     372        virtual void printShort( std::ostream &os, Indenter indent = {} ) const override;
     373};
     374
    359375std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data );
    360376
Note: See TracChangeset for help on using the changeset viewer.