[llvm] 2d9be9e - Fix some builds after 20bb9fe565a
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 22 07:20:56 PDT 2020
Author: Jeremy Morse
Date: 2020-08-22T15:20:42+01:00
New Revision: 2d9be9e31852866b21da93a04dba003099f21caa
URL: https://github.com/llvm/llvm-project/commit/2d9be9e31852866b21da93a04dba003099f21caa
DIFF: https://github.com/llvm/llvm-project/commit/2d9be9e31852866b21da93a04dba003099f21caa.diff
LOG: Fix some builds after 20bb9fe565a
-Wsuggest-override indicates this VarLocBasedLDV method needs the
override keyword.
Added:
Modified:
llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
index bf7ee55262c4..16921ef0d5fc 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
@@ -801,7 +801,7 @@ class VarLocBasedLDV : public LDVImpl {
/// 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.
More information about the llvm-commits
mailing list