One more fix to the new API to fix const-correctness.
[oota-llvm.git] / include / llvm / Support / CommandLine.h
index c0e9d972498c997726b7f79f8d2391c412bddad8..efa17219585b5a5b3b473360c52fe86347d578c5 100644 (file)
@@ -1939,7 +1939,7 @@ void HideUnrelatedOptions(cl::OptionCategory &Category);
 /// Some tools (like clang-format) like to be able to hide all options that are
 /// not specific to the tool. This function allows a tool to specify a single
 /// option category to display in the -help output.
-void HideUnrelatedOptions(ArrayRef<cl::OptionCategory *> Categories);
+void HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *> Categories);
 
 } // End namespace cl