Changeset 1f6e009
- Timestamp:
 - Apr 1, 2016, 11:47:05 AM (10 years ago)
 - 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, with_gc
 - Children:
 - 1048b31
 - Parents:
 - 3cfe27f
 - File:
 - 
      
- 1 edited
 
- 
          
  src/SynTree/FunctionDecl.cc (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/SynTree/FunctionDecl.cc
r3cfe27f r1f6e009 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FunctionDecl.cc -- 7 // FunctionDecl.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Mon Jul 13 18:11:44 201511 // Last Modified By : Rob Schluntz 12 // Last Modified On : Fri Apr 01 11:40:07 2016 13 13 // Update Count : 19 14 14 // … … 25 25 set_isInline( isInline ); 26 26 set_isNoreturn( isNoreturn ); 27 // this is a brazen hack to force the function "main" to have C linkage28 if ( name == "main" ) {29 set_linkage( LinkageSpec::C );30 } // if31 27 } 32 28 … … 52 48 using std::endl; 53 49 using std::string; 54 50 55 51 if ( get_name() != "" ) { 56 52 os << get_name() << ": "; … … 94 90 using std::endl; 95 91 using std::string; 96 92 97 93 if ( get_name() != "" ) { 98 94 os << get_name() << ": ";  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.