Index: llvm/utils/FileCheck/FileCheck.cpp =================================================================== --- llvm/utils/FileCheck/FileCheck.cpp +++ llvm/utils/FileCheck/FileCheck.cpp @@ -110,7 +110,6 @@ // The order of DumpInputValue members affects their precedence, as documented // for -dump-input below. enum DumpInputValue { - DumpInputDefault, DumpInputNever, DumpInputFail, DumpInputAlways, @@ -551,7 +550,7 @@ "FILECHECK_OPTS"); DumpInputValue DumpInput = DumpInputs.empty() - ? DumpInputDefault + ? DumpInputFail : *std::max_element(DumpInputs.begin(), DumpInputs.end()); if (DumpInput == DumpInputHelp) { DumpInputAnnotationHelp(outs()); @@ -668,9 +667,6 @@ InputFileText, InputFile.getBufferIdentifier()), SMLoc()); - if (DumpInput == DumpInputDefault) - DumpInput = DumpInputFail; - std::vector Diags; int ExitCode = FC.checkInput(SM, InputFileText, DumpInput == DumpInputNever ? nullptr : &Diags)