aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-10-15 04:01:40 +0000
committerJohn McCall <rjmccall@apple.com>2009-10-15 04:01:40 +0000
commitf2130a6e3cef10b435feadf6ad8bebaaf9a81a88 (patch)
tree8f3d86ac98eda38d028072e65a266c903d4d5024
parent34a0447b8072e0da14c0980597da9d03a1495662 (diff)
Complete some unfinished comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84169 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/TypeLoc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/clang/AST/TypeLoc.h b/include/clang/AST/TypeLoc.h
index ab23a7985c..3735eee476 100644
--- a/include/clang/AST/TypeLoc.h
+++ b/include/clang/AST/TypeLoc.h
@@ -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 {