[TableGen] Use 'static' instead of an anonymous namespace.

llvm-svn: 238177
This commit is contained in:
Craig Topper 2015-05-26 06:48:38 +00:00
parent e62aa7457f
commit b7644fd522
1 changed files with 13 additions and 15 deletions

View File

@ -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.
/// ///