Ignore:
Timestamp:
Apr 28, 2018, 4:35:04 PM (13 months ago)
Author:
cameron
Message:

Handling of file system errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_interface.cpp

    r5992 r5999  
    124124        clEnumValN(QuietMode, "silent", "Alias for -q")
    125125        CL_ENUM_VAL_SENTINEL), cl::cat(Output_Options), cl::Grouping, cl::location(Mode), cl::init(NormalMode));
    126 
    127 bool NoMessagesFlag;
    128 static cl::opt<bool, true> NoMessagesOption("s", cl::location(NoMessagesFlag), cl::desc("Suppress messages for file errors."), cl::cat(Output_Options), cl::Grouping);
    129 static cl::alias NoMessagesAlias("no-messages", cl::desc("Alias for -s"), cl::aliasopt(NoMessagesOption));
    130126
    131127bool WithFilenameFlag;
     
    262258        llvm::report_fatal_error("Sorry, -color is not yet supported.\n");
    263259    }
    264     if (Mode == QuietMode) {
    265         NoMessagesFlag = true;
    266     }
    267260    if ((Mode == QuietMode) | (Mode == FilesWithMatch) | (Mode == FilesWithoutMatch)) {
    268261        MaxCountFlag = 1;
Note: See TracChangeset for help on using the changeset viewer.