Changeset b3d70eba for src/CodeGen/CodeGenerator.h
- Timestamp:
- Apr 19, 2017, 10:31:57 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 12d3187, 4e9151f, 6a8ac0b
- Parents:
- 5c3632f (diff), e3987770 (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/CodeGenerator.h
r5c3632f rb3d70eba 30 30 static int tabsize; 31 31 32 CodeGenerator( std::ostream &os, bool pretty = false );32 CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false ); 33 33 CodeGenerator( std::ostream &os, std::string, int indent = 0, bool infun = false ); 34 34 CodeGenerator( std::ostream &os, char *, int indent = 0, bool infun = false ); … … 121 121 LabelPrinter printLabels; 122 122 bool pretty = false; // pretty print 123 bool genC = false; // true if output has to be C code 123 124 124 125 void printDesignators( std::list< Expression * > & ); 125 126 void handleStorageClass( DeclarationWithType *decl ); 126 void handleAggregate( AggregateDecl *aggDecl );127 void handleAggregate( AggregateDecl *aggDecl, const std::string & kind ); 127 128 void handleTypedef( NamedTypeDecl *namedType ); 128 129 std::string mangleName( DeclarationWithType * decl );
Note:
See TracChangeset
for help on using the changeset viewer.