Skip to content

Commit c5a2d74

Browse files
committed
[lldb] Rename Options.inc to CommandOptions.inc [NFC]
It seems having two Options.inc files in the same project is giving our custom Xcode project a hard time. This patch renames the new Options.inc to CommandOptions.inc to prevent this conflict. llvm-svn: 366196
1 parent a3e26d1 commit c5a2d74

5 files changed

+7
-7
lines changed

lldb/source/Commands/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lldb_tablegen(Options.inc -gen-lldb-option-defs
1+
lldb_tablegen(CommandOptions.inc -gen-lldb-option-defs
22
SOURCE Options.td
33
TARGET LLDBOptionsGen)
44

lldb/source/Commands/CommandObjectBreakpoint.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ static constexpr OptionDefinition g_breakpoint_list_options[] = {
12491249
// FIXME: We need to add an "internal" command, and then add this sort of
12501250
// thing to it. But I need to see it for now, and don't want to wait.
12511251
#define LLDB_OPTIONS_breakpoint_list
1252-
#include "Options.inc"
1252+
#include "CommandOptions.inc"
12531253
};
12541254

12551255
#pragma mark List

lldb/source/Commands/CommandObjectHelp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ CommandObjectHelp::~CommandObjectHelp() = default;
6767

6868
static constexpr OptionDefinition g_help_options[] = {
6969
#define LLDB_OPTIONS_help
70-
#include "Options.inc"
70+
#include "CommandOptions.inc"
7171
};
7272

7373
llvm::ArrayRef<OptionDefinition>

lldb/source/Commands/CommandObjectSettings.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ using namespace lldb_private;
2323

2424
static constexpr OptionDefinition g_settings_set_options[] = {
2525
#define LLDB_OPTIONS_settings_set
26-
#include "Options.inc"
26+
#include "CommandOptions.inc"
2727
};
2828

2929
class CommandObjectSettingsSet : public CommandObjectRaw {
@@ -312,7 +312,7 @@ class CommandObjectSettingsShow : public CommandObjectParsed {
312312

313313
static constexpr OptionDefinition g_settings_write_options[] = {
314314
#define LLDB_OPTIONS_settings_write
315-
#include "Options.inc"
315+
#include "CommandOptions.inc"
316316
};
317317

318318
class CommandObjectSettingsWrite : public CommandObjectParsed {
@@ -435,7 +435,7 @@ class CommandObjectSettingsWrite : public CommandObjectParsed {
435435

436436
static constexpr OptionDefinition g_settings_read_options[] = {
437437
#define LLDB_OPTIONS_settings_read
438-
#include "Options.inc"
438+
#include "CommandOptions.inc"
439439
};
440440

441441
class CommandObjectSettingsRead : public CommandObjectParsed {

lldb/source/Commands/CommandObjectTarget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ static constexpr OptionEnumValueElement g_sort_option_enumeration[] = {
19681968

19691969
static constexpr OptionDefinition g_target_modules_dump_symtab_options[] = {
19701970
#define LLDB_OPTIONS_target_modules_dump_symtab
1971-
#include "Options.inc"
1971+
#include "CommandOptions.inc"
19721972
};
19731973

19741974
class CommandObjectTargetModulesDumpSymtab

0 commit comments

Comments
 (0)