From 160413ec80e698d4439987d38add8415ac4b8a5a Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 7 Nov 2020 11:44:02 +0100 Subject: [PATCH] [CaptureTrackingTest] Add missing override marker (NFC) --- unittests/Analysis/CaptureTrackingTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Analysis/CaptureTrackingTest.cpp b/unittests/Analysis/CaptureTrackingTest.cpp index b8257c4b1b0..73dd82fb921 100644 --- a/unittests/Analysis/CaptureTrackingTest.cpp +++ b/unittests/Analysis/CaptureTrackingTest.cpp @@ -76,7 +76,7 @@ TEST(CaptureTracking, MaxUsesToExplore) { struct CollectingCaptureTracker : public CaptureTracker { SmallVector Captures; - void tooManyUses() { } + void tooManyUses() override { } bool captured(const Use *U) override { Captures.push_back(U); return false;