From: Fariborz Jahanian Date: Fri, 10 Oct 2014 17:34:30 +0000 (+0000) Subject: Add couple of missing 'override' keyword. NFC. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a64ffb893bb7c5c51635475dc8adee210279262a;p=oota-llvm.git Add couple of missing 'override' keyword. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219516 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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())