From ddee9a91a2a3f640d49c1125034bd68a4667b841 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 14 Jun 2013 21:28:56 +0000 Subject: Fix comments referring to non-existent types. llvm-svn: 184007 --- clang/include/clang/AST/Type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang') diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h index 85aef1f6a6f..bd2e18878ee 100644 --- a/clang/include/clang/AST/Type.h +++ b/clang/include/clang/AST/Type.h @@ -4204,11 +4204,11 @@ public: /// /// 'C

' is an ObjCObjectType with base C and protocol list [P]. /// -/// 'id' is a TypedefType which is sugar for an ObjCPointerType whose +/// 'id' is a TypedefType which is sugar for an ObjCObjectPointerType whose /// pointee is an ObjCObjectType with base BuiltinType::ObjCIdType /// and no protocols. /// -/// 'id

' is an ObjCPointerType whose pointee is an ObjCObjecType +/// 'id

' is an ObjCObjectPointerType whose pointee is an ObjCObjectType /// with base BuiltinType::ObjCIdType and protocol list [P]. Eventually /// this should get its own sugar class to better represent the source. class ObjCObjectType : public Type { @@ -4246,7 +4246,7 @@ public: /// getBaseType - Gets the base type of this object type. This is /// always (possibly sugar for) one of: /// - the 'id' builtin type (as opposed to the 'id' type visible to the - /// user, which is a typedef for an ObjCPointerType) + /// user, which is a typedef for an ObjCObjectPointerType) /// - the 'Class' builtin type (same caveat) /// - an ObjCObjectType (currently always an ObjCInterfaceType) QualType getBaseType() const { return BaseType; } -- cgit v1.2.3