Skip to content

Commit 0c09ef3

Browse files
committed
[upstreaming] Revert changes to CommandObjectType.cpp
The contents of the .inc file and this list are identical, so this seems to be caused by a mismerge.
1 parent 47dc189 commit 0c09ef3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lldb/source/Commands/CommandObjectType.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -992,13 +992,7 @@ class CommandObjectTypeFormatterList : public CommandObjectParsed {
992992
}
993993

994994
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
995-
static constexpr OptionDefinition g_option_table[] = {
996-
// clang-format off
997-
{LLDB_OPT_SET_1, false, "category-regex", 'w', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeName, "Only show categories matching this filter."},
998-
{LLDB_OPT_SET_2, false, "language", 'l', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeLanguage, "Only show the category for a specific language."}
999-
// clang-format on
1000-
};
1001-
return llvm::ArrayRef<OptionDefinition>(g_option_table);
995+
return llvm::makeArrayRef(g_type_formatter_list_options);
1002996
}
1003997

1004998
// Instance variables to hold the values for command options.

0 commit comments

Comments
 (0)