Changeset 66ef082 for src/CodeGen/LineStream.h
- 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.h
r19801aa r66ef082 10 10 // Created On : Wed May 4 09: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 14:03:00 2017 13 13 // Update Count : 1 14 14 // … … 25 25 namespace CodeGen { 26 26 27 class LineStream : public std::ostream{27 class LineStream { 28 28 std::ostream & baseStream; 29 29 std::ostringstream buffer; … … 49 49 50 50 /// Formated output is buffered until flushed. 51 std::ostream & operator<<(char const *str); 52 std::ostream & operator<<(std::string str); 53 std::ostream & operator<<(StreamFlag flag); 51 LineStream & operator<<(char const *str); 52 LineStream & operator<<(std::string const & str); 53 LineStream & operator<<(StreamFlag flag); 54 55 /// Flush all buffered output. 56 LineStream & flush(); 54 57 55 58 }; // LineStream
Note: See TracChangeset
for help on using the changeset viewer.