1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[CaptureTrackingTest] Add missing override marker (NFC)

This commit is contained in:
Nikita Popov 2020-11-07 11:44:02 +01:00
parent c9414e5876
commit 160413ec80

View File

@ -76,7 +76,7 @@ TEST(CaptureTracking, MaxUsesToExplore) {
struct CollectingCaptureTracker : public CaptureTracker { struct CollectingCaptureTracker : public CaptureTracker {
SmallVector<const Use *, 4> Captures; SmallVector<const Use *, 4> Captures;
void tooManyUses() { } void tooManyUses() override { }
bool captured(const Use *U) override { bool captured(const Use *U) override {
Captures.push_back(U); Captures.push_back(U);
return false; return false;