From fd25a0aa41c0eda517f1e82c5ee9e107cf426fcd Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 1 Jul 2022 14:35:36 -0700 Subject: [PATCH] [llvm-lto2] Remove unneeded cl::init(false). NFC --- llvm/tools/llvm-lto2/llvm-lto2.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/tools/llvm-lto2/llvm-lto2.cpp b/llvm/tools/llvm-lto2/llvm-lto2.cpp index c73320a..f79db36 100644 --- a/llvm/tools/llvm-lto2/llvm-lto2.cpp +++ b/llvm/tools/llvm-lto2/llvm-lto2.cpp @@ -68,18 +68,18 @@ static cl::opt AAPipeline("aa-pipeline", static cl::opt SaveTemps("save-temps", cl::desc("Save temporary files")); static cl::opt - ThinLTODistributedIndexes("thinlto-distributed-indexes", cl::init(false), + ThinLTODistributedIndexes("thinlto-distributed-indexes", cl::desc("Write out individual index and " "import files for the " "distributed backend case")); static cl::opt - ThinLTOEmitIndexes("thinlto-emit-indexes", cl::init(false), + ThinLTOEmitIndexes("thinlto-emit-indexes", cl::desc("Write out individual index files via " "InProcessThinLTO")); static cl::opt - ThinLTOEmitImports("thinlto-emit-imports", cl::init(false), + ThinLTOEmitImports("thinlto-emit-imports", cl::desc("Write out individual imports files via " "InProcessThinLTO. Has no effect unless " "specified with -thinlto-emit-indexes or " @@ -153,14 +153,14 @@ static cl::opt static cl::opt RunCSIRInstr("lto-cspgo-gen", cl::desc("Run PGO context sensitive IR instrumentation"), - cl::init(false), cl::Hidden); + cl::Hidden); static cl::opt LtoOpaquePointers("lto-opaque-pointers", cl::desc("Enable opaque pointer types"), cl::init(true), cl::Hidden); static cl::opt - DebugPassManager("debug-pass-manager", cl::init(false), cl::Hidden, + DebugPassManager("debug-pass-manager", cl::Hidden, cl::desc("Print pass management debugging information")); static cl::opt @@ -173,7 +173,7 @@ static cl::list static cl::opt EnableFreestanding( "lto-freestanding", cl::desc("Enable Freestanding (disable builtins / TLI) during LTO"), - cl::init(false), cl::Hidden); + cl::Hidden); static void check(Error E, std::string Msg) { if (!E) -- 2.7.4