about summary refs log tree commit diff homepage
path: root/include/klee
diff options
context:
space:
mode:
Diffstat (limited to 'include/klee')
-rw-r--r--include/klee/CommandLine.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/klee/CommandLine.h b/include/klee/CommandLine.h
index 64930bb2..79f9286b 100644
--- a/include/klee/CommandLine.h
+++ b/include/klee/CommandLine.h
@@ -6,9 +6,11 @@
 #ifndef KLEE_COMMANDLINE_H
 #define KLEE_COMMANDLINE_H
 
-#include "llvm/Support/CommandLine.h"
 #include "klee/Config/config.h"
 
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/Support/CommandLine.h"
+
 namespace klee {
 
 extern llvm::cl::opt<bool> UseFastCexSolver;
@@ -66,7 +68,15 @@ extern llvm::cl::opt<klee::MetaSMTBackendType> MetaSMTBackend;
 
 #endif /* ENABLE_METASMT */
 
+class KCommandLine {
+public:
+  /// Hide all options except the ones in the specified category
+  static void HideUnrelatedOptions(llvm::cl::OptionCategory &Category);
+
+  /// Hide all options except the ones in the specified categories
+  static void HideUnrelatedOptions(
+      llvm::ArrayRef<const llvm::cl::OptionCategory *> Categories);
+};
 }
 
 #endif	/* KLEE_COMMANDLINE_H */
-