mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -254,7 +254,8 @@ TEST(CommandLineTest, HideUnrelatedOptionsMulti) {
|
||||
cl::opt<int> TestOption2("test-option-2", cl::cat(TestCategory));
|
||||
cl::opt<int> TestOption3("test-option-3", cl::cat(TestCategory2));
|
||||
|
||||
cl::OptionCategory *VisibleCategories[] = {&TestCategory, &TestCategory2};
|
||||
const cl::OptionCategory *VisibleCategories[] = {&TestCategory,
|
||||
&TestCategory2};
|
||||
|
||||
cl::HideUnrelatedOptions(makeArrayRef(VisibleCategories));
|
||||
|
||||
|
Reference in New Issue
Block a user