From: Fariborz Jahanian Date: Mon, 7 Jan 2008 19:13:39 +0000 (+0000) Subject: Make interfaceTypesAreCompatible a private method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cc71e8d00896e758cf56ea86cfc1f62ade16478;p=clang Make interfaceTypesAreCompatible a private method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 70bdbb053a..f4a8378b4b 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -294,8 +294,6 @@ public: bool builtinTypesAreCompatible(QualType, QualType); bool vectorTypesAreCompatible(QualType, QualType); - /// Objective-C specific type checking. - bool interfaceTypesAreCompatible(QualType, QualType); bool QualifiedInterfaceTypesAreCompatible(QualType, QualType); bool ObjcQualifiedIdTypesAreCompatible(QualType, QualType, bool = false); bool objcTypesAreCompatible(QualType, QualType); @@ -320,6 +318,9 @@ private: void InitBuiltinTypes(); void InitBuiltinType(QualType &R, BuiltinType::Kind K); + + /// helper function for Objective-C specific type checking. + bool interfaceTypesAreCompatible(QualType, QualType); //===--------------------------------------------------------------------===// // Serialization