[Lldb-commits] [lldb] [lldb] Fix dynamic type resolution for types parsed from declarations (PR #137974)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 05:16:12 PDT 2025


================
@@ -11,6 +11,22 @@
 
 using namespace lldb_private;
 
+std::optional<bool> ClangASTMetadata::GetIsDynamicCXXType() const {
+  switch (m_is_dynamic_cxx) {
+  case 0:
----------------
labath wrote:

I don't think that's necessary given that the only one who needs to know about them are these two short functions. And then I would be able to do the `bool+1` trick :P

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


More information about the lldb-commits mailing list