summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/PBQPRAConstraint.h2
-rw-r--r--llvm/lib/DebugInfo/DWARFUnit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/PBQPRAConstraint.h b/llvm/include/llvm/CodeGen/PBQPRAConstraint.h
index 8f66bfacb1b..147bc4a83d3 100644
--- a/llvm/include/llvm/CodeGen/PBQPRAConstraint.h
+++ b/llvm/include/llvm/CodeGen/PBQPRAConstraint.h
@@ -61,7 +61,7 @@ public:
}
private:
std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
- virtual void anchor();
+ virtual void anchor() override;
};
}
diff --git a/llvm/lib/DebugInfo/DWARFUnit.h b/llvm/lib/DebugInfo/DWARFUnit.h
index 09eb55fc323..786f00f5e8e 100644
--- a/llvm/lib/DebugInfo/DWARFUnit.h
+++ b/llvm/lib/DebugInfo/DWARFUnit.h
@@ -71,7 +71,7 @@ public:
typedef typename UnitVector::iterator iterator;
typedef llvm::iterator_range<typename UnitVector::iterator> iterator_range;
- UnitType *getUnitForOffset(uint32_t Offset) const {
+ UnitType *getUnitForOffset(uint32_t Offset) const override {
auto *CU = std::upper_bound(this->begin(), this->end(), Offset,
UnitOffsetComparator());
if (CU != this->end())
OpenPOWER on IntegriCloud