[Lldb-commits] [lldb] r132449 - /lldb/trunk/source/Symbol/ClangASTContext.cpp
Greg Clayton
gclayton at apple.com
Wed Jun 1 18:26:44 PDT 2011
Author: gclayton
Date: Wed Jun 1 20:26:44 2011
New Revision: 132449
URL: http://llvm.org/viewvc/llvm-project?rev=132449&view=rev
Log:
Use the correct accessor on CXXRecordDecl to know when a C++ class is dynamic.
Modified:
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=132449&r1=132448&r2=132449&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Wed Jun 1 20:26:44 2011
@@ -4070,7 +4070,7 @@
{
if (GetCompleteQualType (ast, pointee_qual_type))
{
- success = cxx_record_decl->isPolymorphic() || cxx_record_decl->isAbstract();
+ success = cxx_record_decl->isDynamicClass();
}
else
{
More information about the lldb-commits
mailing list