Changeset 8905f56
- Timestamp:
- May 18, 2017, 5:31:46 PM (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:
- 0661678, 535adab
- Parents:
- c7a3081
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rc7a3081 r8905f56 64 64 bresolvep = false, 65 65 bboxp = false, 66 bcodegenp = false, 66 67 ctorinitp = false, 67 68 declstatsp = false, … … 306 307 OPTPRINT( "box" ) 307 308 GenPoly::box( translationUnit ); 309 310 if ( bcodegenp ) { 311 dump( translationUnit ); 312 return 0; 313 } 308 314 309 315 if ( optind < argc ) { // any commands after the flags and input file ? => output file name … … 377 383 378 384 int c; 379 while ( (c = getopt_long( argc, argv, "abBc defglLmnpqrstTvyzZD:F:", long_opts, &long_index )) != -1 ) {385 while ( (c = getopt_long( argc, argv, "abBcCdefglLmnpqrstTvyzZD:F:", long_opts, &long_index )) != -1 ) { 380 386 switch ( c ) { 381 387 case Ast: … … 393 399 case 'c': // print after constructors and destructors are replaced 394 400 ctorinitp = true; 401 break; 402 case 'C': // print before code generation 403 bcodegenp = true; 395 404 break; 396 405 case DeclStats:
Note: See TracChangeset
for help on using the changeset viewer.