Skip to content

Commit

Permalink
Fix Clang-tidy modernize-use-override warning in unittests/clang-tidy…
Browse files Browse the repository at this point in the history
…/IncludeInserterTest.cpp; other minor fixes.

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

llvm-svn: 258870
  • Loading branch information
EugeneZelenko committed Jan 26, 2016
1 parent 12e71db commit 7da47b8
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -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; }
Expand Down Expand Up @@ -522,7 +521,7 @@ void foo() {
"insert_includes_test_header.cc"));
}

} // namespace
} // anonymous namespace
} // namespace tidy
} // namespace clang

Expand Down

0 comments on commit 7da47b8

Please sign in to comment.