Changes in src/main.cc [490fb92e:3e9de01]
- File:
-
- 1 edited
-
src/main.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r490fb92e r3e9de01 9 9 // Author : Peter Buhr and Rob Schluntz 10 10 // Created On : Fri May 15 23:12:02 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : T ue May 19 12:03:00202013 // Update Count : 63 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Oct 8 18:17:46 2020 13 // Update Count : 637 14 14 // 15 15 … … 343 343 auto transUnit = convert( move( translationUnit ) ); 344 344 PASS( "Resolve", ResolvExpr::resolve( transUnit ) ); 345 if ( exprp ) {346 translationUnit = convert( move( transUnit ) );347 dump( translationUnit );348 return EXIT_SUCCESS;349 } // if350 351 PASS( "Fix Init", InitTweak::fix(transUnit, buildingLibrary()));352 345 translationUnit = convert( move( transUnit ) ); 353 346 } else { 354 347 PASS( "Resolve", ResolvExpr::resolve( translationUnit ) ); 355 if ( exprp ) {356 dump( translationUnit );357 return EXIT_SUCCESS;358 }359 360 PASS( "Fix Init", InitTweak::fix( translationUnit, buildingLibrary() ) );361 348 } 362 349 350 if ( exprp ) { 351 dump( translationUnit ); 352 return EXIT_SUCCESS; 353 } // if 354 363 355 // fix ObjectDecl - replaces ConstructorInit nodes 356 PASS( "Fix Init", InitTweak::fix( translationUnit, buildingLibrary() ) ); 364 357 if ( ctorinitp ) { 365 358 dump ( translationUnit ); … … 458 451 459 452 460 static const char optstring[] = ":c:ghlLmNnpd P:S:twW:D:";453 static const char optstring[] = ":c:ghlLmNnpdOAP:S:twW:D:"; 461 454 462 455 enum { PreludeDir = 128 }; … … 485 478 486 479 static const char * description[] = { 487 "diagnostic color: never, always, or auto.", // -c488 "wait for gdb to attach", // -g489 "print help message", // -h490 "generate libcfa.c", // -l491 "generate line marks", // -L492 "do not replace main", // -m493 "do not generate line marks", // -N494 "do not read prelude", // -n480 "diagnostic color: never, always, or auto.", // -c 481 "wait for gdb to attach", // -g 482 "print help message", // -h 483 "generate libcfa.c", // -l 484 "generate line marks", // -L 485 "do not replace main", // -m 486 "do not generate line marks", // -N 487 "do not read prelude", // -n 495 488 "generate prototypes for prelude functions", // -p 496 " don't print output that isn't deterministic",// -d497 "Use the old-ast", // -O498 "Use the new-ast", // -A499 "print", // -P489 "only print deterministic output", // -d 490 "Use the old-ast", // -O 491 "Use the new-ast", // -A 492 "print", // -P 500 493 "<directory> prelude directory for debug/nodebug", // no flag 501 494 "<option-list> enable profiling information:\n counters,heap,time,all,none", // -S 502 "building cfa standard lib", // -t503 "", // -w504 "", // -W505 "", // -D495 "building cfa standard lib", // -t 496 "", // -w 497 "", // -W 498 "", // -D 506 499 }; // description 507 500
Note:
See TracChangeset
for help on using the changeset viewer.