summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index 8846d158134..6f546514dbb 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -285,6 +285,10 @@ private:
/// isBuiltinObjcType - Returns true of the type is "id", "SEL", "Class"
/// or "Protocol".
bool isBuiltinObjcType(TypedefDecl *TD);
+
+ /// isObjcObjectPointerType - Returns tru if type is an objective-c pointer
+ /// to an object type; such as "id", "Class", Intf*, id<P>, etc.
+ bool isObjcObjectPointerType(QualType type) const;
/// AddInstanceMethodToGlobalPool - All instance methods in a translation
/// unit are added to a global pool. This allows us to efficiently associate
OpenPOWER on IntegriCloud