From f2130a6e3cef10b435feadf6ad8bebaaf9a81a88 Mon Sep 17 00:00:00 2001 From: John McCall Date: Thu, 15 Oct 2009 04:01:40 +0000 Subject: [PATCH] Complete some unfinished comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84169 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/TypeLoc.h | 10 +++++++--- 1 file 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 ConcreteTypeLoc : public Base { -- 2.50.1