Skip to content

Commit

Permalink
[CaptureTrackingTest] Add missing override marker (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Nov 7, 2020
1 parent d35366b commit d1fbf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/unittests/Analysis/CaptureTrackingTest.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit d1fbf39

Please sign in to comment.