mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
Prefer static namespace-scoped variables over anon namespacing per style guide
Also for consistency with the immediately preceeding variable definition. llvm-svn: 304457
This commit is contained in:
parent
350cff2b25
commit
63b75a6a8a
@ -47,14 +47,13 @@ static cl::opt<bool> PreserveBitcodeUseListOrder(
|
||||
cl::desc("Preserve use-list order when writing LLVM bitcode."),
|
||||
cl::init(true), cl::Hidden);
|
||||
|
||||
namespace {
|
||||
// ChildOutput - This option captures the name of the child output file that
|
||||
// is set up by the parent bugpoint process
|
||||
cl::opt<std::string> ChildOutput("child-output", cl::ReallyHidden);
|
||||
cl::opt<std::string> OptCmd("opt-command", cl::init(""),
|
||||
cl::desc("Path to opt. (default: search path "
|
||||
"for 'opt'.)"));
|
||||
}
|
||||
static cl::opt<std::string> ChildOutput("child-output", cl::ReallyHidden);
|
||||
static cl::opt<std::string>
|
||||
OptCmd("opt-command", cl::init(""),
|
||||
cl::desc("Path to opt. (default: search path "
|
||||
"for 'opt'.)"));
|
||||
|
||||
/// writeProgramToFile - This writes the current "Program" to the named bitcode
|
||||
/// file. If an error occurs, true is returned.
|
||||
|
Loading…
Reference in New Issue
Block a user