[Lldb-commits] [lldb] 377497f - [NFC][lldb] Replace usage of deprecated llvm::makeArrayRef

Arthur Eubanks via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 13:46:59 PDT 2023


Author: Arthur Eubanks
Date: 2023-09-13T13:46:46-07:00
New Revision: 377497f32ac9b9a182018e12903f236c42629251

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

LOG: [NFC][lldb] Replace usage of deprecated llvm::makeArrayRef

Added: 
    

Modified: 
    lldb/include/lldb/Symbol/VariableList.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Symbol/VariableList.h b/lldb/include/lldb/Symbol/VariableList.h
index 3ee69527e23f93c..fd15f3ae6891f47 100644
--- a/lldb/include/lldb/Symbol/VariableList.h
+++ b/lldb/include/lldb/Symbol/VariableList.h
@@ -76,7 +76,7 @@ class VariableList {
   const_iterator end() const { return m_variables.end(); }
 
   llvm::ArrayRef<lldb::VariableSP> toArrayRef() {
-    return llvm::makeArrayRef(m_variables);
+    return llvm::ArrayRef(m_variables);
   }
 
 protected:


        


More information about the lldb-commits mailing list