Skip to content

Commit 2d9be9e

Browse files
committed
Fix some builds after 20bb9fe
-Wsuggest-override indicates this VarLocBasedLDV method needs the override keyword.
1 parent eeb4636 commit 2d9be9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ class VarLocBasedLDV : public LDVImpl {
801801
/// had their instruction creation deferred.
802802
void flushPendingLocs(VarLocInMBB &PendingInLocs, VarLocMap &VarLocIDs);
803803

804-
bool ExtendRanges(MachineFunction &MF, TargetPassConfig *TPC);
804+
bool ExtendRanges(MachineFunction &MF, TargetPassConfig *TPC) override;
805805

806806
public:
807807
/// Default construct and initialize the pass.

0 commit comments

Comments
 (0)