Changes in src/main.cc [3e9de01:490fb92e]
- File:
-
- 1 edited
-
src/main.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r3e9de01 r490fb92e 9 9 // Author : Peter Buhr and Rob Schluntz 10 10 // Created On : Fri May 15 23:12:02 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : T hu Oct 8 18:17:46202013 // Update Count : 63 711 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue May 19 12:03:00 2020 13 // Update Count : 634 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 } // if 350 351 PASS( "Fix Init", InitTweak::fix(transUnit, buildingLibrary())); 345 352 translationUnit = convert( move( transUnit ) ); 346 353 } else { 347 354 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() ) ); 348 361 } 349 362 350 if ( exprp ) {351 dump( translationUnit );352 return EXIT_SUCCESS;353 } // if354 355 363 // fix ObjectDecl - replaces ConstructorInit nodes 356 PASS( "Fix Init", InitTweak::fix( translationUnit, buildingLibrary() ) );357 364 if ( ctorinitp ) { 358 365 dump ( translationUnit ); … … 451 458 452 459 453 static const char optstring[] = ":c:ghlLmNnpd OAP:S:twW:D:";460 static const char optstring[] = ":c:ghlLmNnpdP:S:twW:D:"; 454 461 455 462 enum { PreludeDir = 128 }; … … 478 485 479 486 static const char * description[] = { 480 "diagnostic color: never, always, or auto.", // -c481 "wait for gdb to attach", // -g482 "print help message", // -h483 "generate libcfa.c", // -l484 "generate line marks", // -L485 "do not replace main", // -m486 "do not generate line marks", // -N487 "do not read prelude", // -n487 "diagnostic color: never, always, or auto.", // -c 488 "wait for gdb to attach", // -g 489 "print help message", // -h 490 "generate libcfa.c", // -l 491 "generate line marks", // -L 492 "do not replace main", // -m 493 "do not generate line marks", // -N 494 "do not read prelude", // -n 488 495 "generate prototypes for prelude functions", // -p 489 " only print deterministic output",// -d490 "Use the old-ast", // -O491 "Use the new-ast", // -A492 "print", // -P496 "don't print output that isn't deterministic", // -d 497 "Use the old-ast", // -O 498 "Use the new-ast", // -A 499 "print", // -P 493 500 "<directory> prelude directory for debug/nodebug", // no flag 494 501 "<option-list> enable profiling information:\n counters,heap,time,all,none", // -S 495 "building cfa standard lib", // -t496 "", // -w497 "", // -W498 "", // -D502 "building cfa standard lib", // -t 503 "", // -w 504 "", // -W 505 "", // -D 499 506 }; // description 500 507
Note:
See TracChangeset
for help on using the changeset viewer.