[Lldb-commits] [lldb] [lldb][NFCI] Remove use of ConstString from FilterRule in StructuredDataDarwinLog (PR #68347)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 9 14:51:00 PDT 2023


================
@@ -252,7 +253,8 @@ class FilterRule {
 
   const bool m_accept;
   const size_t m_attribute_index;
-  const ConstString m_operation;
+  // The lifetime of m_operation should be static.
----------------
JDevlieghere wrote:

Static seems confusing in this context. Do you mean should be fixed for the lifetime of this object?

https://github.com/llvm/llvm-project/pull/68347


More information about the lldb-commits mailing list