Changes in src/AST/Print.cpp [09f34a84:b0d9ff7]
- File:
-
- 1 edited
-
src/AST/Print.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r09f34a84 rb0d9ff7 33 33 { 34 34 return array<C,sizeof...(T)>{ 35 std::forward<T>(values)...35 forward<T>(values)... 36 36 }; 37 37 } … … 86 86 87 87 static constexpr auto StorageClasses = make_array<const char*>( 88 "extern", "static", "auto", "register", "_ _thread", "_Thread_local"88 "extern", "static", "auto", "register", "_Thread_local" 89 89 ); 90 90 … … 215 215 ++indent; 216 216 ptrToEnum->base->accept( *this ); 217 --indent; 217 --indent; 218 218 } 219 219 … … 899 899 postprint( node ); 900 900 901 return node; 902 } 903 904 virtual const ast::Expr * visit( const ast::QualifiedNameExpr * node ) override final { 905 os << "QualifiedNameExpr: " << std::endl; 906 os << ++indent << "Type: "; 907 safe_print( node->type_decl ); 908 os << std::endl; 909 os << indent << "Name: " << node->name << std::endl; 910 --indent; 911 postprint( node ); 901 912 return node; 902 913 } … … 1623 1634 // if the wrong size is specified 1624 1635 constexpr array<const char*, 3> Printer::Names::FuncSpecifiers; 1625 constexpr array<const char*, 6> Printer::Names::StorageClasses;1636 constexpr array<const char*, 5> Printer::Names::StorageClasses; 1626 1637 constexpr array<const char*, 6> Printer::Names::Qualifiers; 1627 1638 }
Note:
See TracChangeset
for help on using the changeset viewer.