From 158907128873c8b4dd0e8ca8ded6b7780649fd92 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Wed, 30 Dec 2015 11:39:30 +0000 Subject: [PATCH] [clang-tidy] Don't use delegating constructors llvm-svn: 256637 --- .../clang-tidy/performance/UnnecessaryCopyInitialization.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h b/clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h index 356d4fd3afb3..22a80a86e53c 100644 --- a/clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h +++ b/clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h @@ -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; };