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

Rename InlineValueDecl? to InlineMemberDecl?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    r639e4fc r71806e0  
    236236        }
    237237
    238         // InlineValueDecl vanish after EnumAndPointerDecay pass so no necessary to implement NewToOld
    239         const ast::DeclWithType * visit( const ast::InlineValueDecl * node ) override final {   
     238        // InlineMemberDecl vanish after EnumAndPointerDecay pass so no necessary to implement NewToOld
     239        const ast::DeclWithType * visit( const ast::InlineMemberDecl * node ) override final { 
    240240                assert( false );
    241241                (void) node;
     
    18691869        }
    18701870
    1871         virtual void visit( const InlineValueDecl * old ) override final {
     1871        virtual void visit( const InlineMemberDecl * old ) override final {
    18721872                if ( inCache( old ) ) {
    18731873                        return;
     
    18761876                auto&& attr = GET_ACCEPT_V(attributes, Attribute);
    18771877 
    1878                 auto decl = new ast::InlineValueDecl(
     1878                auto decl = new ast::InlineMemberDecl(
    18791879                        old->location,
    18801880                        old->name,
Note: See TracChangeset for help on using the changeset viewer.