Changeset 70284830 for src/CodeGen/CodeGenerator.h
- Timestamp:
- Aug 11, 2017, 3:54:44 PM (7 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:
- f6cc2096
- Parents:
- 0a5b683 (diff), 33c4b81 (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
r0a5b683 r70284830 23 23 #include "SynTree/Visitor.h" // for Visitor 24 24 #include "SynTree/SynTree.h" // for Visitor Nodes 25 26 #include "Common/Indenter.h" // for Indenter 25 27 26 28 namespace CodeGen { … … 100 102 template< class Iterator > void genCommaList( Iterator begin, Iterator end ); 101 103 102 struct Indenter {103 Indenter(CodeGenerator &cg) : cg(cg) {}104 CodeGenerator & cg;105 std::ostream& operator()(std::ostream & os) const;106 };107 108 104 struct LabelPrinter { 109 105 LabelPrinter(CodeGenerator &cg) : cg(cg), labels( 0 ) {} … … 128 124 private: 129 125 Indenter indent; 130 int cur_indent;131 126 bool insideFunction; 132 127 std::ostream &output;
Note: See TracChangeset
for help on using the changeset viewer.