- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r1e8bbac9 r8a62d04 83 83 } 84 84 85 void printAlts( const AltList &list, std::ostream &os, unsigned int indentAmt ) {86 Indenter indent = { Indenter::tabsize, indentAmt };87 for ( AltList::const_iterator i = list.begin(); i != list.end(); ++i ) {88 i->print( os, indent );89 os << std::endl;90 }91 }92 93 85 namespace { 86 void printAlts( const AltList &list, std::ostream &os, unsigned int indentAmt = 0 ) { 87 Indenter indent = { Indenter::tabsize, indentAmt }; 88 for ( AltList::const_iterator i = list.begin(); i != list.end(); ++i ) { 89 i->print( os, indent ); 90 os << std::endl; 91 } 92 } 93 94 94 void makeExprList( const AltList &in, std::list< Expression* > &out ) { 95 95 for ( AltList::const_iterator i = in.begin(); i != in.end(); ++i ) {
Note: See TracChangeset
for help on using the changeset viewer.