Changes in src/AST/Print.cpp [88bc876:b6f2e7ab]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r88bc876 rb6f2e7ab 1152 1152 os << "Sizeof Expression on: "; 1153 1153 ++indent; 1154 node->type->accept( *this ); 1155 --indent; 1156 postprint( node ); 1157 1158 return node; 1159 } 1160 1161 virtual const ast::Expr * visit( const ast::CountExpr * node ) override final { 1162 os << "Count Expression on: "; 1163 ++indent; 1154 1164 if ( node->type ) node->type->accept( *this ); 1155 1165 else safe_print( node->expr ); 1156 1166 --indent; 1157 1167 postprint( node ); 1158 1159 return node;1160 }1161 1162 virtual const ast::Expr * visit( const ast::CountExpr * node ) override final {1163 os << "Count Expression on: ";1164 ++indent;1165 if ( node->type ) node->type->accept( *this );1166 else safe_print( node->expr );1167 --indent;1168 postprint( node );1169 1168 return node; 1170 1169 } … … 1173 1172 os << "Alignof Expression on: "; 1174 1173 ++indent; 1175 if ( node->type ) node->type->accept( *this ); 1176 else safe_print( node->expr ); 1174 node->type->accept( *this ); 1177 1175 --indent; 1178 1176 postprint( node );
Note: See TracChangeset
for help on using the changeset viewer.