forked from OSchip/llvm-project
[TableGen] Use 'static' instead of an anonymous namespace.
llvm-svn: 238177
This commit is contained in:
parent
e62aa7457f
commit
b7644fd522
|
@ -28,24 +28,22 @@
|
||||||
#include <system_error>
|
#include <system_error>
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
namespace {
|
static cl::opt<std::string>
|
||||||
cl::opt<std::string>
|
OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"),
|
||||||
OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"),
|
cl::init("-"));
|
||||||
cl::init("-"));
|
|
||||||
|
|
||||||
cl::opt<std::string>
|
static cl::opt<std::string>
|
||||||
DependFilename("d",
|
DependFilename("d",
|
||||||
cl::desc("Dependency filename"),
|
cl::desc("Dependency filename"),
|
||||||
cl::value_desc("filename"),
|
cl::value_desc("filename"),
|
||||||
cl::init(""));
|
cl::init(""));
|
||||||
|
|
||||||
cl::opt<std::string>
|
static cl::opt<std::string>
|
||||||
InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-"));
|
InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-"));
|
||||||
|
|
||||||
cl::list<std::string>
|
static cl::list<std::string>
|
||||||
IncludeDirs("I", cl::desc("Directory of include files"),
|
IncludeDirs("I", cl::desc("Directory of include files"),
|
||||||
cl::value_desc("directory"), cl::Prefix);
|
cl::value_desc("directory"), cl::Prefix);
|
||||||
}
|
|
||||||
|
|
||||||
/// \brief Create a dependency file for `-d` option.
|
/// \brief Create a dependency file for `-d` option.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue