[Lldb-commits] [lldb] 088da8a - [lldb][NFC] makeArrayRef -> ArrayRef

Arthur Eubanks via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 23 14:05:16 PDT 2023


Author: Arthur Eubanks
Date: 2023-03-23T14:05:06-07:00
New Revision: 088da8a0e57a461f3be4b554f28c4419418c097c

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

LOG: [lldb][NFC] makeArrayRef -> ArrayRef

makeArrayRef is deprecated.

Added: 
    

Modified: 
    lldb/source/Commands/CommandOptionsProcessAttach.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Commands/CommandOptionsProcessAttach.cpp b/lldb/source/Commands/CommandOptionsProcessAttach.cpp
index f9bd92938fa1c..d3d864dfe0255 100644
--- a/lldb/source/Commands/CommandOptionsProcessAttach.cpp
+++ b/lldb/source/Commands/CommandOptionsProcessAttach.cpp
@@ -72,5 +72,5 @@ Status CommandOptionsProcessAttach::SetOptionValue(
 }
 
 llvm::ArrayRef<OptionDefinition> CommandOptionsProcessAttach::GetDefinitions() {
-  return llvm::makeArrayRef(g_process_attach_options);
+  return llvm::ArrayRef(g_process_attach_options);
 }


        


More information about the lldb-commits mailing list