]> granicus.if.org Git - clang/commitdiff
NFC, add missing cl::cat option category to clang-scan-deps options to ensure they...
authorAlex Lorenz <arphaman@gmail.com>
Thu, 12 Sep 2019 19:00:32 +0000 (19:00 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 12 Sep 2019 19:00:32 +0000 (19:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371759 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-scan-deps/ClangScanDeps.cpp

index 4020a4ce64b241eaa48b820767a6cef272787ee8..4bd61fb9c893db4cc9219629cdf2d0aa8c79d382 100644 (file)
@@ -150,13 +150,14 @@ static llvm::cl::opt<ScanningMode> 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<unsigned>
     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<std::string>
     CompilationDB("compilation-database",