Changes in src/AST/Print.cpp [e874605:ef1da0e2]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
re874605 ref1da0e2 401 401 } 402 402 403 virtual const ast::DeclWithType * visit( const ast::InlineValueDecl * node ) override final {404 os << "inline ";405 if ( ! node->name.empty() ) os << node->name;406 407 return node;408 }409 410 403 virtual const ast::Decl * visit( const ast::UnionDecl * node ) override final { 411 404 print(node); … … 906 899 postprint( node ); 907 900 908 return node;909 }910 911 virtual const ast::Expr * visit( const ast::QualifiedNameExpr * node ) override final {912 os << "QualifiedNameExpr: " << std::endl;913 os << ++indent << "Type: ";914 safe_print( node->type_decl );915 os << std::endl;916 os << indent << "Name: " << node->name << std::endl;917 --indent;918 postprint( node );919 901 return node; 920 902 }
Note: See TracChangeset
for help on using the changeset viewer.