diff --git a/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp b/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp index 8801e3e1bb67..dec830d814cb 100644 --- a/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp +++ b/clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp @@ -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