summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2008-01-07 19:13:39 +0000
committerFariborz Jahanian <fjahanian@apple.com>2008-01-07 19:13:39 +0000
commit699e638e4febea41f070f3a723aa01d51535a0aa (patch)
tree7640cfb6ac08722733e93c3f75f2792077c8f8be
parentd19a6f483624b42ac7a9d812a6334caab239859e (diff)
downloadbcm5719-llvm-699e638e4febea41f070f3a723aa01d51535a0aa.tar.gz
bcm5719-llvm-699e638e4febea41f070f3a723aa01d51535a0aa.zip
Make interfaceTypesAreCompatible a private method.
llvm-svn: 45713
-rw-r--r--clang/include/clang/AST/ASTContext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h
index 70bdbb053af..f4a8378b4b0 100644
--- a/clang/include/clang/AST/ASTContext.h
+++ b/clang/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
OpenPOWER on IntegriCloud