Changeset 71806e0 for src/AST/Decl.hpp
- Timestamp:
- Nov 10, 2022, 8:21:54 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 7491f97, e4d7c1c
- Parents:
- 639e4fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
r639e4fc r71806e0 411 411 }; 412 412 413 class Inline ValueDecl final : public DeclWithType {413 class InlineMemberDecl final : public DeclWithType { 414 414 public: 415 415 ptr<Type> type; 416 416 417 Inline ValueDecl( const CodeLocation & loc, const std::string & name, const Type * type,417 InlineMemberDecl( const CodeLocation & loc, const std::string & name, const Type * type, 418 418 Storage::Classes storage = {}, Linkage::Spec linkage = Linkage::Cforall, 419 419 std::vector< ptr<Attribute> > && attrs = {}, Function::Specs fs = {} ) … … 425 425 const DeclWithType * accept( Visitor& v ) const override { return v.visit( this ); } 426 426 private: 427 Inline ValueDecl * clone() const override { return new InlineValueDecl{ *this }; }427 InlineMemberDecl * clone() const override { return new InlineMemberDecl{ *this }; } 428 428 MUTATE_FRIEND 429 429 };
Note: See TracChangeset
for help on using the changeset viewer.