[Lldb-commits] [PATCH] D116217: [lldb] Fix PR52702 by fixing Mangled::operator!

PoYao Chang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Dec 26 21:30:05 PST 2021


rZhBoYao added inline comments.


================
Comment at: lldb/source/Core/Mangled.cpp:87
 //  { ...
-bool Mangled::operator!() const { return !m_mangled; }
+bool Mangled::operator!() const { return !m_mangled && !m_demangled; }
 
----------------
Should we remove `Mangled::operator!` altogether? I find it less confusing without. 


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

https://reviews.llvm.org/D116217



More information about the lldb-commits mailing list