Remove unused code.

llvm-svn: 153786
This commit is contained in:
Greg Clayton 2012-03-30 23:48:28 +00:00
parent aec366f75b
commit 2053398f63
1 changed files with 1 additions and 9 deletions

View File

@ -142,7 +142,7 @@ GetCompleteQualType (clang::ASTContext *ast, clang::QualType qual_type, bool all
if (!allow_completion)
return false;
if (class_interface_decl->hasExternalLexicalStorage())
{
if (ast)
@ -5187,14 +5187,6 @@ ClangASTContext::CompleteTagDeclarationDefinition (clang_type_t clang_type)
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)