Move documentation to the constructor. Fixes a -Wdocumentation warning

llvm-svn: 182134
This commit is contained in:
Dmitri Gribenko 2013-05-17 17:50:16 +00:00
parent ffaf2eac4d
commit cb63bafefc
1 changed files with 3 additions and 4 deletions

View File

@ -71,13 +71,12 @@ public:
}; };
/// \brief Simple callback implementation. Marshaller and function are provided. /// \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> template <typename MarshallerType, typename FuncType>
class FixedArgCountMatcherCreateCallback : public MatcherCreateCallback { class FixedArgCountMatcherCreateCallback : public MatcherCreateCallback {
public: 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, FixedArgCountMatcherCreateCallback(MarshallerType Marshaller, FuncType Func,
StringRef MatcherName) StringRef MatcherName)
: Marshaller(Marshaller), Func(Func), MatcherName(MatcherName.str()) {} : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName.str()) {}