summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-06-14 21:28:56 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-06-14 21:28:56 +0000
commitddee9a91a2a3f640d49c1125034bd68a4667b841 (patch)
tree6263fd06fa6393ef5367546d1689d497b7939188 /clang
parent31a5bcc24ea1145de4c9470f6b803f4decf27c87 (diff)
downloadbcm5719-llvm-ddee9a91a2a3f640d49c1125034bd68a4667b841.tar.gz
bcm5719-llvm-ddee9a91a2a3f640d49c1125034bd68a4667b841.zip
Fix comments referring to non-existent types.
llvm-svn: 184007
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/Type.h6
1 files changed, 3 insertions, 3 deletions
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<P>' 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<P>' is an ObjCPointerType whose pointee is an ObjCObjecType
+/// 'id<P>' 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; }
OpenPOWER on IntegriCloud