forked from OSchip/llvm-project
parent
aec366f75b
commit
2053398f63
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue