aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-21 04:16:33 +0000
committerChris Lattner <sabre@nondot.org>2008-07-21 04:16:33 +0000
commitb49b572aa35a867f30ec710ce8447ab3a1e2a3c2 (patch)
tree25b9517693d3feb5c963f8e10f6e75907ce97b67 /lib/Sema/Sema.cpp
parent0b6d1e6070394f2a5d6a600351f0e8c3fd371119 (diff)
improve comments yet again, now I know what this does :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r--lib/Sema/Sema.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp
index 478763190a..61a8948e4d 100644
--- a/lib/Sema/Sema.cpp
+++ b/lib/Sema/Sema.cpp
@@ -27,7 +27,9 @@ bool Sema::isBuiltinObjCType(TypedefDecl *TD) {
}
/// isObjCObjectPointerType - Returns true if type is an Objective-C pointer
-/// to an object type; such as "id", "Class", Intf*, id<P>, etc.
+/// to an object type. This includes "id" and "Class" (two 'special' pointers
+/// to struct), Interface* (pointer to ObjCInterfaceType) and id<P> (qualified
+/// ID type).
bool Sema::isObjCObjectPointerType(QualType Ty) const {
if (Ty->isObjCQualifiedIdType())
return true;