Changeset 29702ad for src/AST/Convert.cpp
- Timestamp:
- Nov 22, 2022, 10:18:04 AM (3 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r1553a55 r29702ad 236 236 } 237 237 238 // Inline ValueDecl vanish after EnumAndPointerDecay pass so no necessary to implement NewToOld239 const ast::DeclWithType * visit( const ast::Inline ValueDecl * 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 { 240 240 assert( false ); 241 241 (void) node; … … 1764 1764 { old->linkage.val }, 1765 1765 GET_ACCEPT_1(base, Type), 1766 old->hide == EnumDecl::EnumHiding::Hide ? ast::EnumDecl::EnumHiding::Hide : ast::EnumDecl::EnumHiding::Visible, 1766 1767 old->enumValues 1767 1768 ); … … 1869 1870 } 1870 1871 1871 virtual void visit( const Inline ValueDecl * old ) override final {1872 virtual void visit( const InlineMemberDecl * old ) override final { 1872 1873 if ( inCache( old ) ) { 1873 1874 return; … … 1875 1876 auto&& type = GET_ACCEPT_1(type, Type); 1876 1877 auto&& attr = GET_ACCEPT_V(attributes, Attribute); 1877 1878 auto decl = new ast::Inline ValueDecl(1878 1879 auto decl = new ast::InlineMemberDecl( 1879 1880 old->location, 1880 1881 old->name,
Note:
See TracChangeset
for help on using the changeset viewer.