Changeset 66ef082 for src/CodeGen/LineStream.cc
- Timestamp:
- May 9, 2017, 4:25:20 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:
- 0961bf4
- Parents:
- 19801aa (diff), 6e300d9 (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/LineStream.cc
r19801aa r66ef082 10 10 // Created On : Thr May 4 13:15:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri May 5 14:29:00 201712 // Last Modified On : Mon May 8 12:08:00 2017 13 13 // Update Count : 0 14 14 // … … 17 17 18 18 namespace CodeGen { 19 20 LineStream::LineStream(std::ostream & baseStream, bool insertLines) :21 baseStream(baseStream), insertLines(insertLines)22 {}23 19 24 20 void LineStream::printLineDirective(CodeLocation const & location) { … … 44 40 actualLocation.unset(); 45 41 46 if (addNew Line) {42 if (addNewline) { 47 43 expectedLocation.linenumber += 1; 48 44 buffer.put('\n'); … … 79 75 80 76 LineStream & LineStream::operator<<(StreamFlag flag) { 81 static Str ingFlag const endlCopy = std::endl;77 static StreamFlag const endlCopy = std::endl; 82 78 if (!insertLines) { 83 79 baseStream << flag;
Note: See TracChangeset
for help on using the changeset viewer.