summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
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/lib/Support/CommandLine.cpp
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/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index f17d1f69ad6..35c49be02ce 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -1861,7 +1861,7 @@ void cl::HideUnrelatedOptions(cl::OptionCategory &Category) {
}
}
-void cl::HideUnrelatedOptions(ArrayRef<cl::OptionCategory *> Categories) {
+void cl::HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *> Categories) {
auto CategoriesBegin = Categories.begin();
auto CategoriesEnd = Categories.end();
StringMap<cl::Option *> Options;
OpenPOWER on IntegriCloud