Author: Will Hawkins
Date: 2022-03-16T15:31:25+01:00
New Revision: d58ef6df0d4a248404810bd1b048a0a8a63cd62b

URL: 
https://github.com/llvm/llvm-project/commit/d58ef6df0d4a248404810bd1b048a0a8a63cd62b
DIFF: 
https://github.com/llvm/llvm-project/commit/d58ef6df0d4a248404810bd1b048a0a8a63cd62b.diff

LOG: [LLDB] Change enumaration to enumeration

Change enumaration to enumeration in code handling LLDB help output.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D121800

Added: 
    

Modified: 
    lldb/source/Commands/CommandObjectTarget.cpp
    lldb/source/Commands/Options.td

Removed: 
    


################################################################################
diff  --git a/lldb/source/Commands/CommandObjectTarget.cpp 
b/lldb/source/Commands/CommandObjectTarget.cpp
index 39f3af7f6df26..1d33723263282 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -137,7 +137,7 @@ static uint32_t DumpTargetList(TargetList &target_list,
 
 // Note that the negation in the argument name causes a slightly confusing
 // mapping of the enum values.
-static constexpr OptionEnumValueElement g_dependents_enumaration[] = {
+static constexpr OptionEnumValueElement g_dependents_enumeration[] = {
     {
         eLoadDependentsDefault,
         "default",

diff  --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td
index 0e5105a038a6a..13f9fb70f9da8 100644
--- a/lldb/source/Commands/Options.td
+++ b/lldb/source/Commands/Options.td
@@ -863,7 +863,7 @@ let Command = "source list" in {
 
 let Command = "target dependents" in {
   def dependents_no_dependents : Option<"no-dependents", "d">, Group<1>,
-    OptionalEnumArg<"Value", "OptionEnumValues(g_dependents_enumaration)">,
+    OptionalEnumArg<"Value", "OptionEnumValues(g_dependents_enumeration)">,
     Desc<"Whether or not to load dependents when creating a target. If the "
          "option is not specified, the value is implicitly 'default'. If the "
          "option is specified but without a value, the value is implicitly "


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to