Ignore:
Timestamp:
May 9, 2017, 2:25:04 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
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.cc

    r6182039 rbc934cdf  
    1010// Created On       : Thr May 4 13: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 12:08:00 2017
    1313// Update Count     : 0
    1414//
     
    1717
    1818namespace CodeGen {
    19 
    20         LineStream::LineStream(std::ostream & baseStream, bool insertLines) :
    21                 baseStream(baseStream), insertLines(insertLines)
    22         {}
    2319
    2420        void LineStream::printLineDirective(CodeLocation const & location) {
     
    4440                actualLocation.unset();
    4541
    46                 if (addNewLine) {
     42                if (addNewline) {
    4743                        expectedLocation.linenumber += 1;
    4844                        buffer.put('\n');
     
    7975
    8076        LineStream & LineStream::operator<<(StreamFlag flag) {
    81                 static StringFlag const endlCopy = std::endl;
     77                static StreamFlag const endlCopy = std::endl;
    8278                if (!insertLines) {
    8379                        baseStream << flag;
Note: See TracChangeset for help on using the changeset viewer.