Changeset 71806e0 for src/Common


Ignore:
Timestamp:
Nov 10, 2022, 8:21:54 PM (3 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, master
Children:
7491f97, e4d7c1c
Parents:
639e4fc
Message:

Rename InlineValueDecl to InlineMemberDecl

Location:
src/Common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/Common/CodeLocationTools.cpp

    r639e4fc r71806e0  
    111111    macro(DirectiveDecl, DirectiveDecl) \
    112112    macro(StaticAssertDecl, StaticAssertDecl) \
    113     macro(InlineValueDecl, DeclWithType) \
     113    macro(InlineMemberDecl, DeclWithType) \
    114114    macro(CompoundStmt, CompoundStmt) \
    115115    macro(ExprStmt, Stmt) \
  • src/Common/PassVisitor.h

    r639e4fc r71806e0  
    8181        virtual void visit( StaticAssertDecl * assertDecl ) override final;
    8282        virtual void visit( const StaticAssertDecl * assertDecl ) override final;
    83         virtual void visit( InlineValueDecl * valueDecl ) override final;
    84         virtual void visit( const InlineValueDecl * valueDecl ) override final;
     83        virtual void visit( InlineMemberDecl * valueDecl ) override final;
     84        virtual void visit( const InlineMemberDecl * valueDecl ) override final;
    8585
    8686        virtual void visit( CompoundStmt * compoundStmt ) override final;
     
    275275        virtual DirectiveDecl * mutate( DirectiveDecl * directiveDecl ) override final;
    276276        virtual StaticAssertDecl * mutate( StaticAssertDecl * assertDecl ) override final;
    277         virtual DeclarationWithType * mutate( InlineValueDecl * valueDecl ) override final;
     277        virtual DeclarationWithType * mutate( InlineMemberDecl * valueDecl ) override final;
    278278
    279279        virtual CompoundStmt * mutate( CompoundStmt * compoundStmt ) override final;
  • src/Common/PassVisitor.impl.h

    r639e4fc r71806e0  
    10471047
    10481048//--------------------------------------------------------------------------
    1049 // InlineValueDecl
    1050 template< typename pass_type >
    1051 void PassVisitor< pass_type >::visit( InlineValueDecl * node ) {
     1049// InlineMemberDecl
     1050template< typename pass_type >
     1051void PassVisitor< pass_type >::visit( InlineMemberDecl * node ) {
    10521052        VISIT_START( node );
    10531053
     
    10581058
    10591059template< typename pass_type >
    1060 void PassVisitor< pass_type >::visit( const InlineValueDecl * node ) {
     1060void PassVisitor< pass_type >::visit( const InlineMemberDecl * node ) {
    10611061        VISIT_START( node );
    10621062
     
    10671067
    10681068template< typename pass_type >
    1069 DeclarationWithType * PassVisitor< pass_type >::mutate( InlineValueDecl * node ) {
     1069DeclarationWithType * PassVisitor< pass_type >::mutate( InlineMemberDecl * node ) {
    10701070        MUTATE_START( node );
    10711071
Note: See TracChangeset for help on using the changeset viewer.