- Timestamp:
- Nov 14, 2022, 3:07:55 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 25b0fde
- Parents:
- e4d7c1c (diff), 1fb09eff (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. - Location:
- src/AST
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
re4d7c1c rdb6cdc0 1876 1876 auto&& type = GET_ACCEPT_1(type, Type); 1877 1877 auto&& attr = GET_ACCEPT_V(attributes, Attribute); 1878 1878 1879 1879 auto decl = new ast::InlineMemberDecl( 1880 1880 old->location, -
src/AST/Decl.hpp
re4d7c1c rdb6cdc0 398 398 }; 399 399 400 /// Static Assertion `_Static_assert( ... , ... );` 400 401 class StaticAssertDecl : public Decl { 401 402 public: … … 412 413 }; 413 414 415 /// Inline Member Declaration `inline TypeName;` 414 416 class InlineMemberDecl final : public DeclWithType { 415 417 public: … … 429 431 MUTATE_FRIEND 430 432 }; 433 431 434 } 432 435 -
src/AST/Pass.hpp
re4d7c1c rdb6cdc0 141 141 const ast::DirectiveDecl * visit( const ast::DirectiveDecl * ) override final; 142 142 const ast::StaticAssertDecl * visit( const ast::StaticAssertDecl * ) override final; 143 const ast::DeclWithType * visit( const ast::InlineMemberDecl 143 const ast::DeclWithType * visit( const ast::InlineMemberDecl * ) override final; 144 144 const ast::CompoundStmt * visit( const ast::CompoundStmt * ) override final; 145 145 const ast::Stmt * visit( const ast::ExprStmt * ) override final; -
src/AST/Pass.impl.hpp
re4d7c1c rdb6cdc0 810 810 811 811 //-------------------------------------------------------------------------- 812 // DeclWithType812 // InlineMemberDecl 813 813 template< typename core_t > 814 814 const ast::DeclWithType * ast::Pass< core_t >::visit( const ast::InlineMemberDecl * node ) { -
src/AST/Visitor.hpp
re4d7c1c rdb6cdc0 33 33 virtual const ast::DirectiveDecl * visit( const ast::DirectiveDecl * ) = 0; 34 34 virtual const ast::StaticAssertDecl * visit( const ast::StaticAssertDecl * ) = 0; 35 virtual const ast::DeclWithType * visit( const ast::InlineMemberDecl 35 virtual const ast::DeclWithType * visit( const ast::InlineMemberDecl * ) = 0; 36 36 virtual const ast::CompoundStmt * visit( const ast::CompoundStmt * ) = 0; 37 37 virtual const ast::Stmt * visit( const ast::ExprStmt * ) = 0;
Note:
See TracChangeset
for help on using the changeset viewer.