[cfe-commits] r49311 - /cfe/trunk/include/clang/AST/Type.h
Chris Lattner
sabre at nondot.org
Sun Apr 6 21:58:08 PDT 2008
Author: lattner
Date: Sun Apr 6 23:58:07 2008
New Revision: 49311
URL: http://llvm.org/viewvc/llvm-project?rev=49311&view=rev
Log:
improve comments.
Modified:
cfe/trunk/include/clang/AST/Type.h
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=49311&r1=49310&r2=49311&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Sun Apr 6 23:58:07 2008
@@ -1076,7 +1076,8 @@
};
/// 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 @@
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
More information about the cfe-commits
mailing list