r182134 - Move documentation to the constructor. Fixes a -Wdocumentation warning

Dmitri Gribenko gribozavr at gmail.com
Fri May 17 10:50:16 PDT 2013


Author: gribozavr
Date: Fri May 17 12:50:16 2013
New Revision: 182134

URL: http://llvm.org/viewvc/llvm-project?rev=182134&view=rev
Log:
Move documentation to the constructor.  Fixes a -Wdocumentation warning

Modified:
    cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h

Modified: cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h?rev=182134&r1=182133&r2=182134&view=diff
==============================================================================
--- cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h (original)
+++ cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h Fri May 17 12:50:16 2013
@@ -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()) {}





More information about the cfe-commits mailing list