aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2020-08-22 15:18:52 +0100
committerJeremy Morse <jeremy.morse@sony.com>2020-08-22 15:20:42 +0100
commit2d9be9e31852866b21da93a04dba003099f21caa (patch)
treeb4c6a5262df2252496e555e6912da5b0c2af65d8 /llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
parenteeb46367720a56f06ac64fda6f60727ae8a5b5ea (diff)
downloadllvm-2d9be9e31852866b21da93a04dba003099f21caa.zip
llvm-2d9be9e31852866b21da93a04dba003099f21caa.tar.gz
llvm-2d9be9e31852866b21da93a04dba003099f21caa.tar.bz2
Fix some builds after 20bb9fe565a
-Wsuggest-override indicates this VarLocBasedLDV method needs the override keyword.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp2
1 files changed, 1 insertions, 1 deletions
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.