зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
2521dfa550
Коммит
e3c63fce12
|
@ -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()) {}
|
||||
|
|
Загрузка…
Ссылка в новой задаче