[CaptureTrackingTest] Add missing override marker (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 7 Nov 2020 10:44:02 +0000 (11:44 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 7 Nov 2020 10:44:02 +0000 (11:44 +0100)
llvm/unittests/Analysis/CaptureTrackingTest.cpp

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