]> granicus.if.org Git - clang/commitdiff
Move documentation to the constructor. Fixes a -Wdocumentation warning
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 17 May 2013 17:50:16 +0000 (17:50 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 17 May 2013 17:50:16 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182134 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ASTMatchers/Dynamic/Marshallers.h

index e75a175738c4436b762e1150069b2889ec69888b..a41ed249983209577391cd8c80dd9d56afe4fe63 100644 (file)
@@ -71,13 +71,12 @@ public:
 };
 
 /// \brief Simple callback implementation. Marshaller and function are provided.
-///
-/// \param Marshaller Function to unpack the arguments and call \c Func
-/// \param Func Matcher construct function. This is the function that
-///   compile-time matcher expressions would use to create the matcher.
 template <typename MarshallerType, typename FuncType>
 class FixedArgCountMatcherCreateCallback : public MatcherCreateCallback {
 public:
+  /// \param Marshaller Function to unpack the arguments and call \c Func
+  /// \param Func Matcher construct function. This is the function that
+  ///   compile-time matcher expressions would use to create the matcher.
   FixedArgCountMatcherCreateCallback(MarshallerType Marshaller, FuncType Func,
                                      StringRef MatcherName)
       : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName.str()) {}