Move documentation to the constructor. Fixes a -Wdocumentation warning

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dmitri Gribenko 2013-05-17 17:50:16 +00:00
Родитель 2521dfa550
Коммит e3c63fce12
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -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()) {}