diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupVariable.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionGroupVariable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionGroupVariable.cpp b/lldb/source/Interpreter/OptionGroupVariable.cpp index ee5aa3bb581..a68a98f9b4c 100644 --- a/lldb/source/Interpreter/OptionGroupVariable.cpp +++ b/lldb/source/Interpreter/OptionGroupVariable.cpp @@ -107,9 +107,9 @@ OptionGroupVariable::GetNumDefinitions () // Count the "--no-args", "--no-locals" and "--show-globals" // options if we are showing frame specific options. if (include_frame_options) - return arraysize(g_option_table); + return llvm::array_lengthof(g_option_table); else - return arraysize(g_option_table) - NUM_FRAME_OPTS; + return llvm::array_lengthof(g_option_table) - NUM_FRAME_OPTS; } |