Changes in src/AST/Print.hpp [d76c588:99d4584]
- File:
-
- 1 edited
-
src/AST/Print.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.hpp
rd76c588 r99d4584 29 29 void print( std::ostream & os, const ast::Node * node, Indenter indent = {} ); 30 30 31 /// Wrap any standard format printer (matching above) with integer Indenter constructor32 template<typename T>33 inline void print( std::ostream & os, T && x, unsigned int indent ) {34 print( os, std::forward<T>(x), Indenter{ Indenter::tabsize, indent });35 }36 37 31 /// Print a declaration in its short form 38 32 void printShort( std::ostream & os, const ast::Decl * node, Indenter indent = {} ); 39 33 40 34 inline void printShort( std::ostream & os, const ast::Decl * node, unsigned int indent ) { 41 printShort( os, node, Indenter{ Indenter::tabsize,indent } );35 printShort( os, node, Indenter{ indent } ); 42 36 } 43 37
Note:
See TracChangeset
for help on using the changeset viewer.