Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r3746f777 r490fb92e  
    99// Author           : Peter Buhr and Rob Schluntz
    1010// Created On       : Fri May 15 23:12:02 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Oct  8 18:17:46 2020
    13 // Update Count     : 637
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Tue May 19 12:03:00 2020
     13// Update Count     : 634
    1414//
    1515
     
    341341
    342342                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                         }
    347343                        auto transUnit = convert( move( translationUnit ) );
    348344                        PASS( "Resolve", ResolvExpr::resolve( transUnit ) );
     
    462458
    463459
    464 static const char optstring[] = ":c:ghlLmNnpdOAP:S:twW:D:";
     460static const char optstring[] = ":c:ghlLmNnpdP:S:twW:D:";
    465461
    466462enum { PreludeDir = 128 };
     
    489485
    490486static const char * description[] = {
    491         "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
     487        "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
    499495        "generate prototypes for prelude functions",            // -p
    500         "only print deterministic output",                  // -d
    501         "Use the old-ast",                                                                      // -O
    502         "Use the new-ast",                                                                      // -A
    503         "print",                                                                                        // -P
     496        "don't print output that isn't deterministic",        // -d
     497        "Use the old-ast",                                    // -O
     498        "Use the new-ast",                                    // -A
     499        "print",                                              // -P
    504500        "<directory> prelude directory for debug/nodebug",      // no flag
    505501        "<option-list> enable profiling information:\n          counters,heap,time,all,none", // -S
    506         "building cfa standard lib",                                            // -t
    507         "",                                                                                                     // -w
    508         "",                                                                                                     // -W
    509         "",                                                                                                     // -D
     502        "building cfa standard lib",                          // -t
     503        "",                                                   // -w
     504        "",                                                   // -W
     505        "",                                                   // -D
    510506}; // description
    511507
Note: See TracChangeset for help on using the changeset viewer.