forked from OSchip/llvm-project
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:
parent
12e71db856
commit
7da47b8ef5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue