Changeset db6cdc0 for src/AST


Ignore:
Timestamp:
Nov 14, 2022, 3:07:55 PM (3 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, master
Children:
25b0fde
Parents:
e4d7c1c (diff), 1fb09eff (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 branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src/AST
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    re4d7c1c rdb6cdc0  
    18761876                auto&& type = GET_ACCEPT_1(type, Type);
    18771877                auto&& attr = GET_ACCEPT_V(attributes, Attribute);
    1878  
     1878
    18791879                auto decl = new ast::InlineMemberDecl(
    18801880                        old->location,
  • src/AST/Decl.hpp

    re4d7c1c rdb6cdc0  
    398398};
    399399
     400/// Static Assertion `_Static_assert( ... , ... );`
    400401class StaticAssertDecl : public Decl {
    401402public:
     
    412413};
    413414
     415/// Inline Member Declaration `inline TypeName;`
    414416class InlineMemberDecl final : public DeclWithType {
    415417public:
     
    429431        MUTATE_FRIEND
    430432};
     433
    431434}
    432435
  • src/AST/Pass.hpp

    re4d7c1c rdb6cdc0  
    141141        const ast::DirectiveDecl *    visit( const ast::DirectiveDecl        * ) override final;
    142142        const ast::StaticAssertDecl * visit( const ast::StaticAssertDecl     * ) override final;
    143         const ast::DeclWithType *     visit( const ast::InlineMemberDecl      * ) override final;
     143        const ast::DeclWithType *     visit( const ast::InlineMemberDecl     * ) override final;
    144144        const ast::CompoundStmt *     visit( const ast::CompoundStmt         * ) override final;
    145145        const ast::Stmt *             visit( const ast::ExprStmt             * ) override final;
  • src/AST/Pass.impl.hpp

    re4d7c1c rdb6cdc0  
    810810
    811811//--------------------------------------------------------------------------
    812 // DeclWithType
     812// InlineMemberDecl
    813813template< typename core_t >
    814814const ast::DeclWithType * ast::Pass< core_t >::visit( const ast::InlineMemberDecl * node ) {
  • src/AST/Visitor.hpp

    re4d7c1c rdb6cdc0  
    3333    virtual const ast::DirectiveDecl *    visit( const ast::DirectiveDecl        * ) = 0;
    3434    virtual const ast::StaticAssertDecl * visit( const ast::StaticAssertDecl     * ) = 0;
    35     virtual const ast::DeclWithType *     visit( const ast::InlineMemberDecl      * ) = 0;
     35    virtual const ast::DeclWithType *     visit( const ast::InlineMemberDecl     * ) = 0;
    3636    virtual const ast::CompoundStmt *     visit( const ast::CompoundStmt         * ) = 0;
    3737    virtual const ast::Stmt *             visit( const ast::ExprStmt             * ) = 0;
Note: See TracChangeset for help on using the changeset viewer.