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/Parser/ParseNode.h

    r2efe4b8 r1cdfa82  
    179179
    180180Expression * build_cast( DeclarationNode * decl_node, ExpressionNode * expr_node );
     181Expression * build_keyword_cast( KeywordCastExpr::Target target, ExpressionNode * expr_node );
    181182Expression * build_virtual_cast( DeclarationNode * decl_node, ExpressionNode * expr_node );
    182183Expression * build_fieldSel( ExpressionNode * expr_node, Expression * member );
     
    246247        static DeclarationNode * newAttribute( std::string *, ExpressionNode * expr = nullptr ); // gcc attributes
    247248        static DeclarationNode * newAsmStmt( StatementNode * stmt ); // gcc external asm statement
     249        static DeclarationNode * newStaticAssert( ExpressionNode * condition, Expression * message );
    248250
    249251        DeclarationNode();
     
    313315        Attr_t attr;
    314316
     317        struct StaticAssert_t {
     318                ExpressionNode * condition;
     319                Expression * message;
     320        };
     321        StaticAssert_t assert;
     322
    315323        BuiltinType builtin;
    316324
     
    392400
    393401Statement * build_if( IfCtl * ctl, StatementNode * then_stmt, StatementNode * else_stmt );
    394 Statement * build_switch( ExpressionNode * ctl, StatementNode * stmt );
     402Statement * build_switch( bool isSwitch, ExpressionNode * ctl, StatementNode * stmt );
    395403Statement * build_case( ExpressionNode * ctl );
    396404Statement * build_default();
Note: See TracChangeset for help on using the changeset viewer.