aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@mozilla.com>2023-01-09 18:11:07 +0100
committerserge-sans-paille <sguelton@mozilla.com>2023-01-10 11:47:43 +0100
commit984b800a036fc61ccb129a8da7592af9cadc94dd (patch)
tree1e55d6433189412a4e34ce29eae2ae7666b8c485 /lldb/source/Commands/CommandObjectFrame.cpp
parent740d2f6b876e9de44b2608554281243a7aba40f5 (diff)
downloadllvm-984b800a036fc61ccb129a8da7592af9cadc94dd.zip
llvm-984b800a036fc61ccb129a8da7592af9cadc94dd.tar.gz
llvm-984b800a036fc61ccb129a8da7592af9cadc94dd.tar.bz2
Move from llvm::makeArrayRef to ArrayRef deduction guides - last part
This is a follow-up to https://reviews.llvm.org/D140896, split into several parts as it touches a lot of files. Differential Revision: https://reviews.llvm.org/D141298
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index af0f94a..4a0d752 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -96,7 +96,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_frame_diag_options);
+ return llvm::ArrayRef(g_frame_diag_options);
}
// Options.
@@ -254,7 +254,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_frame_select_options);
+ return llvm::ArrayRef(g_frame_select_options);
}
std::optional<int32_t> relative_frame_offset;
@@ -778,7 +778,7 @@ private:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_frame_recognizer_add_options);
+ return llvm::ArrayRef(g_frame_recognizer_add_options);
}
// Instance variables to hold the values for command options.