From: Alex Lorenz Date: Thu, 12 Sep 2019 19:00:32 +0000 (+0000) Subject: NFC, add missing cl::cat option category to clang-scan-deps options to ensure they... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2be1e8b8eeb9b906693e023618716e48d7ff30c0;p=clang NFC, add missing cl::cat option category to clang-scan-deps options to ensure they show up in -help git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371759 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-scan-deps/ClangScanDeps.cpp b/tools/clang-scan-deps/ClangScanDeps.cpp index 4020a4ce64..4bd61fb9c8 100644 --- a/tools/clang-scan-deps/ClangScanDeps.cpp +++ b/tools/clang-scan-deps/ClangScanDeps.cpp @@ -150,13 +150,14 @@ static llvm::cl::opt ScanMode( clEnumValN(ScanningMode::CanonicalPreprocessing, "preprocess", "The set of dependencies is computed by preprocessing the " "unmodified source files")), - llvm::cl::init(ScanningMode::MinimizedSourcePreprocessing)); + llvm::cl::init(ScanningMode::MinimizedSourcePreprocessing), + llvm::cl::cat(DependencyScannerCategory)); llvm::cl::opt NumThreads("j", llvm::cl::Optional, llvm::cl::desc("Number of worker threads to use (default: use " "all concurrent threads)"), - llvm::cl::init(0)); + llvm::cl::init(0), llvm::cl::cat(DependencyScannerCategory)); llvm::cl::opt CompilationDB("compilation-database",