[Lldb-commits] [lldb] r153786 - /lldb/trunk/source/Symbol/ClangASTContext.cpp
Greg Clayton
gclayton at apple.com
Fri Mar 30 16:48:29 PDT 2012
Author: gclayton
Date: Fri Mar 30 18:48:28 2012
New Revision: 153786
URL: http://llvm.org/viewvc/llvm-project?rev=153786&view=rev
Log:
Remove unused code.
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=153786&r1=153785&r2=153786&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Fri Mar 30 18:48:28 2012
@@ -142,7 +142,7 @@
if (!allow_completion)
return false;
-
+
if (class_interface_decl->hasExternalLexicalStorage())
{
if (ast)
@@ -5187,14 +5187,6 @@
return true;
}
- const ObjCObjectType *objc_class_type = dyn_cast<ObjCObjectType>(qual_type);
-
- if (objc_class_type)
- {
- // ObjCInterfaceDecl *class_interface_decl = objc_class_type->getInterface();
- // class_interface_decl->completeDefinition();
- }
-
const EnumType *enum_type = dyn_cast<EnumType>(qual_type.getTypePtr());
if (enum_type)
More information about the lldb-commits
mailing list