Ignore:
Timestamp:
May 21, 2015, 9:44:51 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
76f2e97f
Parents:
a08ba92
Message:

licencing: seventh groups of files

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/SynTree/FunctionDecl.cc

    ra08ba92 r843054c2  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon May 18 08:48:46 2015
    13 // Update Count     : 1
     12// Last Modified On : Thu May 21 21:31:16 2015
     13// Update Count     : 11
    1414//
    1515
     
    2222
    2323FunctionDecl::FunctionDecl( const std::string &name, StorageClass sc, LinkageSpec::Type linkage, FunctionType *type, CompoundStmt *statements, bool isInline )
    24         : Parent( name, sc, linkage ), type( type ), statements( statements ), isInline( isInline ) {
     24                : Parent( name, sc, linkage ), type( type ), statements( statements ), isInline( isInline ) {
    2525        // this is a brazen hack to force the function "main" to have C linkage
    2626        if ( name == "main" ) {
     
    3030
    3131FunctionDecl::FunctionDecl( const FunctionDecl &other )
    32         : Parent( other ), type( maybeClone( other.type ) ), statements( maybeClone( other.statements ) ), isInline( other.isInline ) {
     32                : Parent( other ), type( maybeClone( other.type ) ), statements( maybeClone( other.statements ) ), isInline( other.isInline ) {
    3333}
    3434
     
    6868                os << "untyped entity ";
    6969        } // if
     70
    7071        if ( ! oldIdents.empty() ) {
    7172                os << string( indent+2, ' ' ) << "with parameter names" << endl;
     
    7475                } // for
    7576        } // if
     77
    7678        if ( ! oldDecls.empty() ) {
    7779                os << string( indent+2, ' ' ) << "with parameter declarations" << endl;
Note: See TracChangeset for help on using the changeset viewer.