================
@@ -93,6 +93,10 @@ class DynamicRegisterInfo {
     return llvm::iterator_range<reg_collection::const_iterator>(m_regs);
   }
 
+  llvm::iterator_range<reg_collection::iterator> registers_mutable() {
----------------
medismailben wrote:

You should be able to use template specialization on the return type to use the 
same method name.

I don't feel strongly about implementing it, if you don't feel comfortable 
writing templated code, just a nice to have :).

https://github.com/llvm/llvm-project/pull/70950
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to