Changeset 5f2f2d7 for src/CodeGen/GenType.cc
- Timestamp:
- Jun 8, 2015, 8:56:35 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 81419b5
- Parents:
- cd623a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/GenType.cc
rcd623a4 r5f2f2d7 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 4 14:04:58201513 // Update Count : 414 // 15 16 #include <s trstream>12 // Last Modified On : Mon Jun 8 14:36:02 2015 13 // Update Count : 9 14 // 15 16 #include <sstream> 17 17 #include <cassert> 18 18 … … 68 68 69 69 void GenType::genArray( const Type::Qualifiers &qualifiers, Type *base, Expression *dimension, bool isVarLen, bool isStatic ) { 70 std::ostr stream os;70 std::ostringstream os; 71 71 if ( typeString != "" ) { 72 72 if ( typeString[ 0 ] == '*' ) { … … 102 102 os << "]"; 103 103 104 typeString = std::string( os.str(), os.pcount());104 typeString = os.str(); 105 105 106 106 base->accept( *this ); … … 127 127 128 128 void GenType::visit( FunctionType *funcType ) { 129 std::ostr stream os;129 std::ostringstream os; 130 130 131 131 if ( typeString != "" ) { … … 159 159 } // if 160 160 161 typeString = std::string( os.str(), os.pcount());161 typeString = os.str(); 162 162 163 163 if ( funcType->get_returnVals().size() == 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.