Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    rc850687 r5f642e38  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Wed May 10 10:57:00 2017
    13 // Update Count     : 51
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Mar  1 16:20:04 2017
     13// Update Count     : 50
    1414//
    1515
     
    2525#include "SymTab/Indexer.h"
    2626
    27 #include "Common/utility.h"
    28 
    2927namespace CodeGen {
    3028        class CodeGenerator : public Visitor {
     
    3230                static int tabsize;
    3331
    34                 CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false, bool lineMarks = false );
     32                CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false );
    3533                CodeGenerator( std::ostream &os, std::string, int indent = 0, bool infun = false );
    3634                CodeGenerator( std::ostream &os, char *, int indent = 0, bool infun = false );
     
    112110                };
    113111
    114                 struct LineMarker {
    115                         CodeLocation const & loc;
    116                         bool toPrint;
    117 
    118                         LineMarker(CodeLocation const & loc, bool toPrint);
    119                 };
    120 
    121                 LineMarker lineDirective(BaseSyntaxNode const * node);
    122 
    123112                void asmName( DeclarationWithType *decl );
    124113
     
    133122                bool pretty = false;  // pretty print
    134123                bool genC = false;    // true if output has to be C code
    135                 bool lineMarks = false;
    136124
    137125                void printDesignators( std::list< Expression * > & );
     
    161149        /// returns C-compatible name of declaration
    162150        std::string genName( DeclarationWithType * decl );
    163 
    164         std::ostream & operator<<(std::ostream &,
    165                 CodeGenerator::LineMarker const &);
    166151} // namespace CodeGen
    167152
Note: See TracChangeset for help on using the changeset viewer.