Changeset de62360d for src/CodeGen/CodeGenerator.cc
- Timestamp:
- Jun 24, 2015, 4:04:19 PM (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, string, with_gc
- Children:
- 94e0864d
- Parents:
- a1d5d2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
ra1d5d2a rde62360d 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 13 07:12:27 201513 // Update Count : 1 2912 // Last Modified On : Tue Jun 23 16:16:57 2015 13 // Update Count : 133 14 14 // 15 15 … … 69 69 if ( functionDecl->get_isInline() ) { 70 70 output << "inline "; 71 } // if 72 if ( functionDecl->get_isNoreturn() ) { 73 output << "_Noreturn "; 71 74 } // if 72 75 output << genType( functionDecl->get_functionType(), mangleName( functionDecl ) ); … … 295 298 case OT_PREFIX: 296 299 case OT_PREFIXASSIGN: 300 case OT_LABELADDRESS: 297 301 assert( untypedExpr->get_args().size() == 1 ); 298 302 output << "("; … … 318 322 output << ")"; 319 323 break; 320 324 321 325 case OT_CONSTANT: 322 326 // there are no intrinsic definitions of 0 or 1 as functions … … 634 638 break; 635 639 case DeclarationNode::Inline: 636 // handled as special via isInline flag (FIX)640 output << "inline "; 637 641 break; 638 642 case DeclarationNode::Fortran: 639 // not handled640 643 output << "fortran "; 641 644 break; 642 645 case DeclarationNode::Noreturn: 643 // not handled644 646 output << "_Noreturn "; 645 647 break; 646 648 case DeclarationNode::Threadlocal: 647 // not handled648 649 output << "_Thread_local "; 649 650 break;
Note:
See TracChangeset
for help on using the changeset viewer.