summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
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
commitfd3dbd940393ecfe9e7784664a1d189fa927aec8 (patch)
treef24e169d8e81e51b64b347817804efe0902d9470 /llvm/include/llvm/Support/CommandLine.h
parent199e7c125e5479968e9608c6318c391ff54ee2e4 (diff)
downloadbcm5719-llvm-fd3dbd940393ecfe9e7784664a1d189fa927aec8.tar.gz
bcm5719-llvm-fd3dbd940393ecfe9e7784664a1d189fa927aec8.zip
One more fix to the new API to fix const-correctness.
llvm-svn: 227154
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r--llvm/include/llvm/Support/CommandLine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index c0e9d972498..efa17219585 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/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
OpenPOWER on IntegriCloud