Ignore:
Timestamp:
Nov 22, 2022, 10:18:04 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
20cf96d
Parents:
1553a55 (diff), d41735a (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    r1553a55 r29702ad  
    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;
     
    17641764                        { old->linkage.val },
    17651765                        GET_ACCEPT_1(base, Type),
     1766                        old->hide == EnumDecl::EnumHiding::Hide ? ast::EnumDecl::EnumHiding::Hide : ast::EnumDecl::EnumHiding::Visible,
    17661767                        old->enumValues
    17671768                );
     
    18691870        }
    18701871
    1871         virtual void visit( const InlineValueDecl * old ) override final {
     1872        virtual void visit( const InlineMemberDecl * old ) override final {
    18721873                if ( inCache( old ) ) {
    18731874                        return;
     
    18751876                auto&& type = GET_ACCEPT_1(type, Type);
    18761877                auto&& attr = GET_ACCEPT_V(attributes, Attribute);
    1877  
    1878                 auto decl = new ast::InlineValueDecl(
     1878
     1879                auto decl = new ast::InlineMemberDecl(
    18791880                        old->location,
    18801881                        old->name,
Note: See TracChangeset for help on using the changeset viewer.