[Lldb-commits] [lldb] r145825 - /lldb/trunk/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp

Sean Callanan scallanan at apple.com
Mon Dec 5 10:49:06 PST 2011


Author: spyffe
Date: Mon Dec  5 12:49:06 2011
New Revision: 145825

URL: http://llvm.org/viewvc/llvm-project?rev=145825&view=rev
Log:
Because we now call StartTagDeclarationDefinition()
and CompleteTagDeclarationDefinition() on Objective-C
interfaces populated by SymbolFileSymtab::FindTypes(),
we should mark the interface as forward-declared when
we create it.

Modified:
    lldb/trunk/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp?rev=145825&r1=145824&r2=145825&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp Mon Dec  5 12:49:06 2011
@@ -399,7 +399,7 @@
         if (match == NULL)
             return 0;
                     
-        const bool isForwardDecl = false;
+        const bool isForwardDecl = true;
         const bool isInternal = true;
         
         ClangASTContext &ast = GetClangASTContext();





More information about the lldb-commits mailing list