]> granicus.if.org Git - clang/commitdiff
Fix typo in comment.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 May 2013 15:36:53 +0000 (15:36 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 May 2013 15:36:53 +0000 (15:36 +0000)
Found by -Wdocumentation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182934 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/TypeVisitor.h

index 04957fb709b2c0acf847102ca7dde43924636733..11e5a47f1f2948e37ae409bd62e776fc01a3c22c 100644 (file)
@@ -24,7 +24,7 @@ namespace clang {
 
 /// \brief An operation on a type.
 ///
-/// \tparam ImpClass Class implementing the operation. Must be inherited from
+/// \tparam ImplClass Class implementing the operation. Must be inherited from
 ///         TypeVisitor.
 /// \tparam RetTy %Type of result produced by the operation.
 ///
@@ -48,15 +48,15 @@ namespace clang {
 ///
 /// Actual treatment is made by methods of the derived class, TypeVisitor only
 /// dispatches call to the appropriate method. If the implementation class
-/// \c ImpClass provides specific action for some type, say
+/// \c ImplClass provides specific action for some type, say
 /// \c ConstantArrayType, it should define method
 /// <tt>VisitConstantArrayType(const ConstantArrayType*)</tt>. Otherwise
 /// \c TypeVisitor dispatches call to the method that handles parent type. In
 /// this example handlers are tried in the sequence:
 ///
-/// \li <tt>ImpClass::VisitConstantArrayType(const ConstantArrayType*)</tt>
-/// \li <tt>ImpClass::VisitArrayType(const ArrayType*)</tt>
-/// \li <tt>ImpClass::VisitType(const Type*)</tt>
+/// \li <tt>ImplClass::VisitConstantArrayType(const ConstantArrayType*)</tt>
+/// \li <tt>ImplClass::VisitArrayType(const ArrayType*)</tt>
+/// \li <tt>ImplClass::VisitType(const Type*)</tt>
 /// \li <tt>TypeVisitor::VisitType(const Type*)</tt>
 ///
 /// The first function of this sequence that is defined will handle object of