aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Type.h
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
commit3bf68059002e67e393f3e89261f31506be223ca5 (patch)
tree5263257d0eabc131366a2efca86fca9ae5734123 /include/clang/AST/Type.h
parentddb5a3926d715ab4354ca36117679e3f4d5d3e21 (diff)
downloadclang-3bf68059002e67e393f3e89261f31506be223ca5.tar.gz
Fix comments referring to non-existent types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r--include/clang/AST/Type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index 85aef1f6a6..bd2e18878e 100644
--- a/include/clang/AST/Type.h
+++ b/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; }