Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.hpp

    r461046f r6f4b7f2  
    2323namespace ast {
    2424
     25class Decl;
     26
     27/// Print a node with the given indenter
    2528void print( std::ostream & os, const ast::Node * node, Indenter indent = {} );
    2629
     
    2932}
    3033
     34/// Print a declaration in its short form
     35void printShort( std::ostream & os, const ast::Decl * node, Indenter indent = {} );
     36
     37inline void printShort( std::ostream & os, const ast::Decl * node, unsigned int indent ) {
     38    printShort( os, node, Indenter{ Indenter::tabsize, indent } );
    3139}
     40
     41}
Note: See TracChangeset for help on using the changeset viewer.