From 2d9be9e31852866b21da93a04dba003099f21caa Mon Sep 17 00:00:00 2001 From: Jeremy Morse Date: Sat, 22 Aug 2020 15:18:52 +0100 Subject: Fix some builds after 20bb9fe565a -Wsuggest-override indicates this VarLocBasedLDV method needs the override keyword. --- llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp') diff --git a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp index bf7ee55..16921ef 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp @@ -801,7 +801,7 @@ private: /// had their instruction creation deferred. void flushPendingLocs(VarLocInMBB &PendingInLocs, VarLocMap &VarLocIDs); - bool ExtendRanges(MachineFunction &MF, TargetPassConfig *TPC); + bool ExtendRanges(MachineFunction &MF, TargetPassConfig *TPC) override; public: /// Default construct and initialize the pass. -- cgit v1.1