OSDN Git Service

[Remarks] Add cl::Hidden to -remarks-yaml-string-table
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 10 Jul 2019 15:46:36 +0000 (15:46 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 10 Jul 2019 15:46:36 +0000 (15:46 +0000)
It was showing up in a lot of unrelated tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365647 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Remarks/YAMLRemarkSerializer.cpp

index 14de44f..d64ae8e 100644 (file)
@@ -17,8 +17,9 @@
 using namespace llvm;
 using namespace llvm::remarks;
 
-cl::opt<bool> RemarksYAMLStringTable("remarks-yaml-string-table",
-                                     cl::init(false));
+cl::opt<bool> RemarksYAMLStringTable(
+    "remarks-yaml-string-table", cl::init(false), cl::Hidden,
+    cl::desc("Enable the usage of a string table with YAML remarks."));
 
 // Use the same keys whether we use a string table or not (respectively, T is an
 // unsigned or a StringRef).