Author: alexfh Date: Fri Aug 14 08:23:55 2015 New Revision: 245046 URL: http://llvm.org/viewvc/llvm-project?rev=245046&view=rev Log: [clang-tidy] Don't use delegating constructors.
Modified: clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp Modified: clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp?rev=245046&r1=245045&r2=245046&view=diff ============================================================================== --- clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp (original) +++ clang-tools-extra/trunk/unittests/clang-tidy/IncludeInserterTest.cpp Fri Aug 14 08:23:55 2015 @@ -73,7 +73,8 @@ public: class CSystemIncludeInserterCheck : public IncludeInserterCheckBase { public: - using IncludeInserterCheckBase::IncludeInserterCheckBase; + CSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context) + : IncludeInserterCheckBase(CheckName, Context) {} StringRef HeaderToInclude() const override { return "stdlib.h"; } bool IsAngledInclude() const override { return true; } }; @@ -492,4 +493,4 @@ void foo() { } // namespace tidy } // namespace clang -#endif \ No newline at end of file +#endif _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits