Changeset 0270824 for src/SynTree
- Timestamp:
- Jan 12, 2017, 11:31:57 AM (8 years ago)
- 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:
- 3fe34ae
- Parents:
- 075734f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/FunctionDecl.cc
r075734f r0270824 27 27 set_isInline( isInline ); 28 28 set_isNoreturn( isNoreturn ); 29 // this is a brazen hack to force the function "main" to have C linkage 29 // this is a brazen hack to force the function "main" to have Cforall linkage 30 // because we want to replace the main even if it is inside an extern 30 31 if ( name == "main" ) { 31 set_linkage( LinkageSpec::C );32 set_linkage( LinkageSpec::Cforall ); 32 33 } // if 33 34 }
Note: See TracChangeset
for help on using the changeset viewer.