Ignore:
Timestamp:
Apr 19, 2017, 10:31:57 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
12d3187, 4e9151f, 6a8ac0b
Parents:
5c3632f (diff), e3987770 (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 plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    r5c3632f rb3d70eba  
    3030                static int tabsize;
    3131
    32                 CodeGenerator( std::ostream &os, bool pretty = false );
     32                CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false );
    3333                CodeGenerator( std::ostream &os, std::string, int indent = 0, bool infun = false );
    3434                CodeGenerator( std::ostream &os, char *, int indent = 0, bool infun = false );
     
    121121                LabelPrinter printLabels;
    122122                bool pretty = false;  // pretty print
     123                bool genC = false;    // true if output has to be C code
    123124
    124125                void printDesignators( std::list< Expression * > & );
    125126                void handleStorageClass( DeclarationWithType *decl );
    126                 void handleAggregate( AggregateDecl *aggDecl );
     127                void handleAggregate( AggregateDecl *aggDecl, const std::string & kind );
    127128                void handleTypedef( NamedTypeDecl *namedType );
    128129                std::string mangleName( DeclarationWithType * decl );
Note: See TracChangeset for help on using the changeset viewer.