[Lldb-commits] [PATCH] D39733: Simplify NativeProcessProtocol::GetArchitecture/GetByteOrder

Eugene Zemtsov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 7 12:12:22 PST 2017


eugene added inline comments.


================
Comment at: include/lldb/Host/common/NativeProcessProtocol.h:104
 
-  virtual bool GetArchitecture(ArchSpec &arch) const = 0;
+  virtual const ArchSpec &GetArchitecture() const = 0;
 
----------------
Why return reference instead of a value?


https://reviews.llvm.org/D39733





More information about the lldb-commits mailing list