Changes in src/SynTree/AddressExpr.cc [89231bc:843054c2]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/AddressExpr.cc
r89231bc r843054c2 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // AddressExpr.cc -- 7 // AddressExpr.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 23:54:44 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Tue Apr 26 12:35:13 201611 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 16:52:51 2015 13 13 // Update Count : 6 14 14 // … … 16 16 #include "Expression.h" 17 17 #include "Type.h" 18 #include " Common/utility.h"18 #include "utility.h" 19 19 20 20 AddressExpr::AddressExpr( Expression *arg, Expression *_aname ) : Expression( _aname ), arg( arg ) { … … 32 32 33 33 void AddressExpr::print( std::ostream &os, int indent ) const { 34 os << "Address of:" << std::endl;34 os << std::string( indent, ' ' ) << "Address of:" << std::endl; 35 35 if ( arg ) { 36 os << std::string( indent+2, ' ' ); 37 arg->print( os, indent+2 ); 36 arg->print( os, indent+2 ); 38 37 } // if 39 38 }
Note:
See TracChangeset
for help on using the changeset viewer.