[Lldb-commits] [lldb] r163440 - /lldb/trunk/source/Symbol/ClangASTContext.cpp

Sean Callanan scallanan at apple.com
Fri Sep 7 17:49:45 PDT 2012


Author: spyffe
Date: Fri Sep  7 19:49:45 2012
New Revision: 163440

URL: http://llvm.org/viewvc/llvm-project?rev=163440&view=rev
Log:
Fixed a crash in the testsuite because the wrong
type was being completed.

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=163440&r1=163439&r2=163440&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Fri Sep  7 19:49:45 2012
@@ -5600,7 +5600,7 @@
                         {
                             bool is_complete = cxx_record_decl->isCompleteDefinition();
                             if (!is_complete)
-                                is_complete = ClangASTContext::GetCompleteType (ast, clang_type);
+                                is_complete = ClangASTContext::GetCompleteType (ast, pointee_qual_type.getAsOpaquePtr());
 
                             if (is_complete)
                             {





More information about the lldb-commits mailing list