[clang-tidy] Don't use delegating constructors

llvm-svn: 256637
This commit is contained in:
Alexander Kornienko 2015-12-30 11:39:30 +00:00
parent 8d228dda41
commit 1589071288
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ namespace performance {
// const references, and const pointers to const.
class UnnecessaryCopyInitialization : public ClangTidyCheck {
public:
using ClangTidyCheck::ClangTidyCheck;
UnnecessaryCopyInitialization(StringRef Name, ClangTidyContext *Context)
: ClangTidyCheck(Name, Context) {}
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
};