Use 'override/final' instead of 'virtual' for overridden methods
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-checks='-*,misc-use-override' -header-filter='llvm|clang' \
-j=32 -fix -format
http://reviews.llvm.org/D8925
llvm-svn: 234679
This commit is contained in:
@@ -37,7 +37,7 @@ class FixedDeltaAlgorithm final : public DeltaAlgorithm {
|
||||
unsigned NumTests;
|
||||
|
||||
protected:
|
||||
virtual bool ExecuteOneTest(const changeset_ty &Changes) {
|
||||
bool ExecuteOneTest(const changeset_ty &Changes) override {
|
||||
++NumTests;
|
||||
return std::includes(Changes.begin(), Changes.end(),
|
||||
FailingSet.begin(), FailingSet.end());
|
||||
|
||||
Reference in New Issue
Block a user