aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-07 04:58:07 +0000
committerChris Lattner <sabre@nondot.org>2008-04-07 04:58:07 +0000
commit372bed091b6b1eca596130208e227e7077154de4 (patch)
tree712f44323df09eeba9869d00c5d353c1957902dd
parent88cb27a160adc305783a44f922ee4b216006ebf9 (diff)
improve comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49311 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Type.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index 1b37e39361..bcefaeb1f6 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -1076,7 +1076,8 @@ public:
};
/// ObjCQualifiedInterfaceType - This class represents interface types
-/// conforming to a list of protocols; such as, INTF<Proto1, Proto2, Proto1>.
+/// conforming to a list of protocols, such as INTF<Proto1, Proto2, Proto1>.
+///
/// Duplicate protocols are removed and protocol list is canonicalized to be in
/// alphabetical order.
class ObjCQualifiedInterfaceType : public ObjCInterfaceType,
@@ -1116,7 +1117,10 @@ public:
static bool classof(const ObjCQualifiedInterfaceType *) { return true; }
};
-/// ObjCQualifiedIdType - to represent id<protocol-list>
+/// ObjCQualifiedIdType - to represent id<protocol-list>.
+///
+/// Duplicate protocols are removed and protocol list is canonicalized to be in
+/// alphabetical order.
class ObjCQualifiedIdType : public Type,
public llvm::FoldingSetNode {
// List of protocols for this protocol conforming 'id' type