Ignore:
Timestamp:
May 9, 2017, 2:25:04 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
903f7c3
Parents:
6182039 (diff), 4810867 (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:/u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/LineStream.h

    r6182039 rbc934cdf  
    1010// Created On       : Wed May 4 09:15:00 2017
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Fri May 5 14:29:00 2017
     12// Last Modified On : Mon May 8 14:03:00 2017
    1313// Update Count     : 1
    1414//
     
    2525namespace CodeGen {
    2626
    27         class LineStream : public std::ostream {
     27        class LineStream {
    2828                std::ostream & baseStream;
    2929                std::ostringstream buffer;
     
    4949
    5050                /// 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();
    5457
    5558        }; // LineStream
Note: See TracChangeset for help on using the changeset viewer.