diff options
-rw-r--r-- | include/clang/AST/ASTContext.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |