Changes in / [e945826:1048b31]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/FunctionDecl.cc

    re945826 r1048b31  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // FunctionDecl.cc -- 
     7// FunctionDecl.cc --
    88//
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jul 13 18:11:44 2015
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Fri Apr 01 11:40:07 2016
    1313// Update Count     : 19
    1414//
     
    2525        set_isInline( isInline );
    2626        set_isNoreturn( isNoreturn );
    27         // this is a brazen hack to force the function "main" to have C linkage
    28         if ( name == "main" ) {
    29                 set_linkage( LinkageSpec::C );
    30         } // if
    3127}
    3228
     
    5248        using std::endl;
    5349        using std::string;
    54        
     50
    5551        if ( get_name() != "" ) {
    5652                os << get_name() << ": ";
     
    9490        using std::endl;
    9591        using std::string;
    96        
     92
    9793        if ( get_name() != "" ) {
    9894                os << get_name() << ": ";
Note: See TracChangeset for help on using the changeset viewer.