From c7a0985995631025fbe9a4fe9fc435c3ba7387e4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 25 Jul 2002 16:31:09 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3087 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/dis/dis.cpp | 4 ++-- tools/extract/extract.cpp | 4 ++-- tools/gccas/gccas.cpp | 4 ++-- tools/gccld/gccld.cpp | 8 ++++---- tools/llvm-dis/dis.cpp | 4 ++-- tools/llvm-dis/llvm-dis.cpp | 4 ++-- tools/llvm-extract/llvm-extract.cpp | 4 ++-- tools/opt/opt.cpp | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tools/dis/dis.cpp b/tools/dis/dis.cpp index 361564c8e54..13c4da3942e 100644 --- a/tools/dis/dis.cpp +++ b/tools/dis/dis.cpp @@ -27,10 +27,10 @@ enum OutputMode { c, // Generate C code }; -static cl::opt +static cl::opt InputFilename(cl::Positional, cl::desc(""), cl::init("-")); -static cl::opt +static cl::opt OutputFilename("o", cl::desc("Override output filename"), cl::value_desc("filename")); diff --git a/tools/extract/extract.cpp b/tools/extract/extract.cpp index 5c71264d54c..93e5fc1b112 100644 --- a/tools/extract/extract.cpp +++ b/tools/extract/extract.cpp @@ -17,13 +17,13 @@ #include // InputFilename - The filename to read from. -static cl::opt +static cl::opt InputFilename(cl::Positional, cl::desc(""), cl::init("-"), cl::value_desc("filename")); // ExtractFunc - The function to extract from the module... defaults to main. -static cl::opt +static cl::opt ExtractFunc("func", cl::desc("Specify function to extract"), cl::init("main"), cl::value_desc("function")); diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index c59b6ebe6a4..974e9e26f4b 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -25,10 +25,10 @@ using std::cerr; // FIXME: This should eventually be parameterized... static TargetData TD("opt target"); -static cl::opt +static cl::opt InputFilename(cl::Positional, cl::desc(""), cl::Required); -static cl::opt +static cl::opt OutputFilename("o", cl::desc("Override output filename"), cl::value_desc("filename")); diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 70e0130da08..5649796aaea 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -30,22 +30,22 @@ #include using std::cerr; -static cl::list +static cl::list InputFilenames(cl::Positional, cl::desc(""), cl::OneOrMore); -static cl::opt +static cl::opt OutputFilename("o", cl::desc("Override output filename"), cl::init("a.out"), cl::value_desc("filename")); static cl::opt Verbose("v", cl::desc("Print information about actions taken")); -static cl::list +static cl::list LibPaths("L", cl::desc("Specify a library search path"), cl::Prefix, cl::value_desc("directory")); -static cl::list +static cl::list Libraries("l", cl::desc("Specify libraries to link to"), cl::Prefix, cl::value_desc("library prefix")); diff --git a/tools/llvm-dis/dis.cpp b/tools/llvm-dis/dis.cpp index 361564c8e54..13c4da3942e 100644 --- a/tools/llvm-dis/dis.cpp +++ b/tools/llvm-dis/dis.cpp @@ -27,10 +27,10 @@ enum OutputMode { c, // Generate C code }; -static cl::opt +static cl::opt InputFilename(cl::Positional, cl::desc(""), cl::init("-")); -static cl::opt +static cl::opt OutputFilename("o", cl::desc("Override output filename"), cl::value_desc("filename")); diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index 361564c8e54..13c4da3942e 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -27,10 +27,10 @@ enum OutputMode { c, // Generate C code }; -static cl::opt +static cl::opt InputFilename(cl::Positional, cl::desc(""), cl::init("-")); -static cl::opt +static cl::opt OutputFilename("o", cl::desc("Override output filename"), cl::value_desc("filename")); diff --git a/tools/llvm-extract/llvm-extract.cpp b/tools/llvm-extract/llvm-extract.cpp index 5c71264d54c..93e5fc1b112 100644 --- a/tools/llvm-extract/llvm-extract.cpp +++ b/tools/llvm-extract/llvm-extract.cpp @@ -17,13 +17,13 @@ #include // InputFilename - The filename to read from. -static cl::opt +static cl::opt InputFilename(cl::Positional, cl::desc(""), cl::init("-"), cl::value_desc("filename")); // ExtractFunc - The function to extract from the module... defaults to main. -static cl::opt +static cl::opt ExtractFunc("func", cl::desc("Specify function to extract"), cl::init("main"), cl::value_desc("function")); diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 01be7eb96d4..9fbfea75648 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -20,7 +20,7 @@ #include using std::cerr; - +using std::string; //===----------------------------------------------------------------------===// // PassNameParser class - Make use of the pass registration mechanism to