summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-01-27 00:42:00 +0000
committerChris Bieneman <beanz@apple.com>2015-01-27 00:42:00 +0000
commit57d5adfe15dbb212011940c242a2ef4356c0164a (patch)
tree3c853494f464976188d57455bcc2155d938dada3 /include
parenteb5783171ce65c2ad0421be16a7d4f7941d27a36 (diff)
One more fix to the new API to fix const-correctness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CommandLine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index c0e9d972498..efa17219585 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/Support/CommandLine.h
@@ -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