Changeset 9a8930f for src/CodeGen/Generate.cc
- Timestamp:
- Jun 4, 2015, 2:07:40 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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:
- 0423f25, eb3261f
- Parents:
- a61fea9a (diff), 1136d96 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/Generate.cc
ra61fea9a r9a8930f 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue Jun 2 11:21:06201513 // Update Count : 212 // Last Modified On : Thu Jun 4 14:04:25 2015 13 // Update Count : 5 14 14 // 15 15 … … 27 27 namespace CodeGen { 28 28 void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics ) { 29 CodeGen::CodeGenerator 2cgv( os );29 CodeGen::CodeGenerator cgv( os ); 30 30 31 31 for ( std::list<Declaration *>::iterator i = translationUnit.begin(); i != translationUnit.end(); i++ ) { 32 32 if ( LinkageSpec::isGeneratable( (*i)->get_linkage() ) && (doIntrinsics || ! LinkageSpec::isBuiltin( (*i)->get_linkage() ) ) ) { 33 33 (*i)->accept(cgv); 34 cgv.shift_left();35 34 if ( doSemicolon( *i ) ) { 36 35 os << ";";
Note: See TracChangeset
for help on using the changeset viewer.