Changes in src/main.cc [490fb92e:3746f777]
- File:
-
- 1 edited
-
src/main.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r490fb92e r3746f777 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 … … 341 341 342 342 if( useNewAST) { 343 if (Stats::Counters::enabled) { 344 ast::pass_visitor_stats.avg = Stats::Counters::build<Stats::Counters::AverageCounter<double>>("Average Depth - New"); 345 ast::pass_visitor_stats.max = Stats::Counters::build<Stats::Counters::MaxCounter<double>>("Max depth - New"); 346 } 343 347 auto transUnit = convert( move( translationUnit ) ); 344 348 PASS( "Resolve", ResolvExpr::resolve( transUnit ) ); … … 458 462 459 463 460 static const char optstring[] = ":c:ghlLmNnpd P:S:twW:D:";464 static const char optstring[] = ":c:ghlLmNnpdOAP:S:twW:D:"; 461 465 462 466 enum { PreludeDir = 128 }; … … 485 489 486 490 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", // -n491 "diagnostic color: never, always, or auto.", // -c 492 "wait for gdb to attach", // -g 493 "print help message", // -h 494 "generate libcfa.c", // -l 495 "generate line marks", // -L 496 "do not replace main", // -m 497 "do not generate line marks", // -N 498 "do not read prelude", // -n 495 499 "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", // -P500 "only print deterministic output", // -d 501 "Use the old-ast", // -O 502 "Use the new-ast", // -A 503 "print", // -P 500 504 "<directory> prelude directory for debug/nodebug", // no flag 501 505 "<option-list> enable profiling information:\n counters,heap,time,all,none", // -S 502 "building cfa standard lib", // -t503 "", // -w504 "", // -W505 "", // -D506 "building cfa standard lib", // -t 507 "", // -w 508 "", // -W 509 "", // -D 506 510 }; // description 507 511
Note:
See TracChangeset
for help on using the changeset viewer.