Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    ra28bc02 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 );
     
    7674                virtual void visit( UntypedTupleExpr *tupleExpr );
    7775                virtual void visit( TupleExpr *tupleExpr );
    78                 virtual void visit( TupleIndexExpr * tupleExpr );
    7976                virtual void visit( TypeExpr *typeExpr );
    8077                virtual void visit( AsmExpr * );
     
    113110                };
    114111
    115                 struct LineMarker {
    116                         CodeLocation const & loc;
    117                         bool toPrint;
    118 
    119                         LineMarker(CodeLocation const & loc, bool toPrint);
    120                 };
    121 
    122                 LineMarker lineDirective(BaseSyntaxNode const * node);
    123 
    124112                void asmName( DeclarationWithType *decl );
    125113
     
    134122                bool pretty = false;  // pretty print
    135123                bool genC = false;    // true if output has to be C code
    136                 bool lineMarks = false;
    137124
    138125                void printDesignators( std::list< Expression * > & );
     
    162149        /// returns C-compatible name of declaration
    163150        std::string genName( DeclarationWithType * decl );
    164 
    165         std::ostream & operator<<(std::ostream &,
    166                 CodeGenerator::LineMarker const &);
    167151} // namespace CodeGen
    168152
Note: See TracChangeset for help on using the changeset viewer.