aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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