[Lldb-commits] [PATCH] D85243: Factor out common code from the iPhone/AppleTV/WatchOS simulator platform plugins. (NFC)

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 6 12:55:30 PDT 2020


JDevlieghere added inline comments.


================
Comment at: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h:96
 protected:
+  const char *m_class_name;
+  const char *m_description;
----------------
aprantl wrote:
> JDevlieghere wrote:
> > "While you are here" could we make these StringRefs? 
> I could, but these are used specifically/only for the lldb Plugin API:
> 
> `const char *GetDescription() override { return m_description; }`
> 
> Do you think it's worth doing regardless?
> 
I think it'd be nice, but more something for a separate NFC patch. It's definitely not that important and I'm sure you have better stuff to do :p 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85243/new/

https://reviews.llvm.org/D85243



More information about the lldb-commits mailing list