Fix Clang-tidy modernize-use-override warning in unittests/clang-tidy/IncludeInserterTest.cpp; other minor fixes.

Differential revision: http://reviews.llvm.org/D16566

llvm-svn: 258870
This commit is contained in:
Eugene Zelenko 2016-01-26 22:32:24 +00:00
parent 12e71db856
commit 7da47b8ef5
1 changed files with 1 additions and 2 deletions

View File

@ -98,7 +98,6 @@ class CXXSystemIncludeInserterCheck : public IncludeInserterCheckBase {
public:
CXXSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context)
: IncludeInserterCheckBase(CheckName, Context) {}
virtual ~CXXSystemIncludeInserterCheck() {}
std::vector<StringRef> HeadersToInclude() const override { return {"set"}; }
bool IsAngledInclude() const override { return true; }
@ -522,7 +521,7 @@ void foo() {
"insert_includes_test_header.cc"));
}
} // namespace
} // anonymous namespace
} // namespace tidy
} // namespace clang