[Lldb-commits] [PATCH] D49410: [PDB] Parse UDT symbols and pointers to members

Hui Huang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 18 21:58:00 PDT 2018


Hui added inline comments.


================
Comment at: source/Plugins/SymbolFile/PDB/PDBASTParser.cpp:696
+          base_ast_type.GetOpaqueQualType(), access,
+          pdb_base_class->isVirtualBaseClass(), /*base_of_class*/ true);
+      base_classes.push_back(base_spec);
----------------
aleksandr.urakov wrote:
> If I understand correctly, `base_of_class` must be `false` for structs. May be check the kind of `pdb_udt` here?
Struct/Union can't have base class. Only class udt is handled. I think it is safe to set it ture. 


https://reviews.llvm.org/D49410





More information about the lldb-commits mailing list