From a64ffb893bb7c5c51635475dc8adee210279262a Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Fri, 10 Oct 2014 17:34:30 +0000 Subject: [PATCH] Add couple of missing 'override' keyword. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219516 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/PBQPRAConstraint.h | 2 +- lib/DebugInfo/DWARFUnit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/CodeGen/PBQPRAConstraint.h b/include/llvm/CodeGen/PBQPRAConstraint.h index 8f66bfacb1b..147bc4a83d3 100644 --- a/include/llvm/CodeGen/PBQPRAConstraint.h +++ b/include/llvm/CodeGen/PBQPRAConstraint.h @@ -61,7 +61,7 @@ public: } private: std::vector> Constraints; - virtual void anchor(); + virtual void anchor() override; }; } diff --git a/lib/DebugInfo/DWARFUnit.h b/lib/DebugInfo/DWARFUnit.h index 09eb55fc323..786f00f5e8e 100644 --- a/lib/DebugInfo/DWARFUnit.h +++ b/lib/DebugInfo/DWARFUnit.h @@ -71,7 +71,7 @@ public: typedef typename UnitVector::iterator iterator; typedef llvm::iterator_range 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()) -- 2.34.1