shafik added inline comments.

================
Comment at: lldb/source/Core/RichManglingContext.cpp:24
+  std::free(m_ipd_buf);
+  if (m_cxx_method_parser.hasValue()) {
+    assert(m_provider == PluginCxxLanguage);
----------------
This code is duplicated from `ResetProvider(...)` we should factor it out and 
call it from both places, so we if we ever change this code in the future we 
don't have to remember to fix both places.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100795

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to