[Lldb-commits] [lldb] [LLDB] FindLibCppStdFunctionCallableInfo improvements (PR #111892)
David Mentler via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 11 11:53:07 PDT 2024
================
@@ -191,14 +191,6 @@ llvm::Error ItaniumABILanguageRuntime::TypeHasVTable(CompilerType type) {
type = pointee_type;
}
- // Make sure this is a class or a struct first by checking the type class
- // bitfield that gets returned.
- if ((type.GetTypeClass() & (eTypeClassStruct | eTypeClassClass)) == 0) {
----------------
mentlerd wrote:
I might have overgeneralized here a bit - `TypeSystemClang::IsPolymorphicClass` already checks these conditions, and seems to handle situations better where `CompilerType` is a typedef to a struct/class instead of being one itself.
https://github.com/llvm/llvm-project/pull/111892
More information about the lldb-commits
mailing list