]> granicus.if.org Git - clang/commitdiff
Complete some unfinished comments.
authorJohn McCall <rjmccall@apple.com>
Thu, 15 Oct 2009 04:01:40 +0000 (04:01 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 15 Oct 2009 04:01:40 +0000 (04:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84169 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/TypeLoc.h

index ab23a7985c34efba9964b4d9cb956f405f0c8c98..3735eee4762985f44e0f2c853772abb09942a089 100644 (file)
@@ -179,11 +179,13 @@ public:
 
 
 /// A metaprogramming base class for TypeLoc classes which correspond
-/// to a particular Type subclass.
+/// to a particular Type subclass.  It is accepted for a single
+/// TypeLoc class to correspond to multiple Type classes.
 ///
 /// \param Base a class from which to derive
 /// \param Derived the class deriving from this one
-/// \param TypeClass the concrete Type subclass which this 
+/// \param TypeClass the concrete Type subclass associated with this
+///   location type
 /// \param LocalData the structure type of local location data for
 ///   this type
 ///
@@ -194,7 +196,9 @@ public:
 /// getExtraLocalDataSize(); getExtraLocalData() will then point to
 /// this extra memory.
 ///
-/// TypeLocs with an inner type should override ha
+/// TypeLocs with an inner type should override hasInnerType() and
+/// getInnerType(); getInnerTypeLoc() will then point to this inner
+/// type's location data.
 template <class Base, class Derived, class TypeClass, class LocalData>
 class ConcreteTypeLoc : public Base {