From: John McCall Date: Thu, 15 Oct 2009 04:01:40 +0000 (+0000) Subject: Complete some unfinished comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2130a6e3cef10b435feadf6ad8bebaaf9a81a88;p=clang Complete some unfinished comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84169 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 {