Changeset 1259c35 for src/AST/Print.hpp


Ignore:
Timestamp:
May 27, 2019, 2:38:13 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
ebc0a85
Parents:
0c6900b (diff), a7d50b6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into cleanup-dtors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.hpp

    r0c6900b r1259c35  
    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.