clang-tidy: modernize-use-override (NFC)

Add NOLINT to CommandTestBase due to gmock not adding "override" keyword,
which causes warnings on clang.
This commit is contained in:
Peter Johnson
2020-12-28 00:10:13 -08:00
parent 4cc0706b06
commit d11a3a6380
89 changed files with 156 additions and 151 deletions

View File

@@ -29,7 +29,7 @@ class ShuffleboardComponent : public ShuffleboardComponentBase {
ShuffleboardComponent(ShuffleboardContainer& parent, const wpi::Twine& title,
const wpi::Twine& type = "");
virtual ~ShuffleboardComponent() = default;
~ShuffleboardComponent() override = default;
/**
* Sets custom properties for this component. Property names are

View File

@@ -27,7 +27,7 @@ class ShuffleboardComponentBase : public virtual ShuffleboardValue {
const wpi::Twine& title,
const wpi::Twine& type = "");
virtual ~ShuffleboardComponentBase() = default;
~ShuffleboardComponentBase() override = default;
void SetType(const wpi::Twine& type);

View File

@@ -45,7 +45,7 @@ class ShuffleboardContainer : public virtual ShuffleboardValue,
ShuffleboardContainer(ShuffleboardContainer&& rhs) = default;
virtual ~ShuffleboardContainer() = default;
~ShuffleboardContainer() override = default;
/**
* Gets the components that are direct children of this container.