Index: unittests/clang-tidy/IncludeInserterTest.cpp =================================================================== --- unittests/clang-tidy/IncludeInserterTest.cpp +++ unittests/clang-tidy/IncludeInserterTest.cpp @@ -98,7 +98,7 @@ public: CXXSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context) : IncludeInserterCheckBase(CheckName, Context) {} - virtual ~CXXSystemIncludeInserterCheck() {} + ~CXXSystemIncludeInserterCheck() override = default; std::vector HeadersToInclude() const override { return {"set"}; } bool IsAngledInclude() const override { return true; } @@ -522,7 +522,7 @@ "insert_includes_test_header.cc")); } -} // namespace +} // anonymous namespace } // namespace tidy } // namespace clang