]> granicus.if.org Git - clang/commitdiff
Make interfaceTypesAreCompatible a private method.
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 7 Jan 2008 19:13:39 +0000 (19:13 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 7 Jan 2008 19:13:39 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45713 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h

index 70bdbb053aff70cf4d1797a4a6daf3fc84a2d8af..f4a8378b4b0d4a68b005f162f1aeafdf8cc9508b 100644 (file)
@@ -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