[llvm] r368787 - [FileCheck] Document FILECHECK_OPTS in -help

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 19:56:20 PDT 2019


Author: jdenny
Date: Tue Aug 13 19:56:20 2019
New Revision: 368787

URL: http://llvm.org/viewvc/llvm-project?rev=368787&view=rev
Log:
[FileCheck] Document FILECHECK_OPTS in -help

Reviewed By: thopre

Differential Revision: https://reviews.llvm.org/D65707

Modified:
    llvm/trunk/utils/FileCheck/FileCheck.cpp

Modified: llvm/trunk/utils/FileCheck/FileCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/FileCheck/FileCheck.cpp?rev=368787&r1=368786&r2=368787&view=diff
==============================================================================
--- llvm/trunk/utils/FileCheck/FileCheck.cpp (original)
+++ llvm/trunk/utils/FileCheck/FileCheck.cpp Tue Aug 13 19:56:20 2019
@@ -24,6 +24,10 @@
 #include <cmath>
 using namespace llvm;
 
+static cl::extrahelp FileCheckOptsEnv(
+    "\nOptions are parsed from the environment variable FILECHECK_OPTS and\n"
+    "from the command line.\n");
+
 static cl::opt<std::string>
     CheckFilename(cl::Positional, cl::desc("<check-file>"), cl::Optional);
 




More information about the llvm-commits mailing list