Changeset 71806e0 for src/AST/Decl.hpp


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/Decl.hpp

    r639e4fc r71806e0  
    411411};
    412412
    413 class InlineValueDecl final : public DeclWithType {
     413class InlineMemberDecl final : public DeclWithType {
    414414public:
    415415        ptr<Type> type;
    416416
    417         InlineValueDecl( const CodeLocation & loc, const std::string & name, const Type * type,
     417        InlineMemberDecl( const CodeLocation & loc, const std::string & name, const Type * type,
    418418                Storage::Classes storage = {}, Linkage::Spec linkage = Linkage::Cforall,
    419419                std::vector< ptr<Attribute> > && attrs = {}, Function::Specs fs = {} )
     
    425425        const DeclWithType * accept( Visitor& v ) const override { return v.visit( this ); }
    426426private:
    427         InlineValueDecl * clone() const override { return new InlineValueDecl{ *this }; }
     427        InlineMemberDecl * clone() const override { return new InlineMemberDecl{ *this }; }
    428428        MUTATE_FRIEND
    429429};
Note: See TracChangeset for help on using the changeset viewer.