Add couple of missing 'override' keyword. NFC.
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 10 Oct 2014 17:34:30 +0000 (17:34 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 10 Oct 2014 17:34:30 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219516 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/PBQPRAConstraint.h
lib/DebugInfo/DWARFUnit.h

index 8f66bfacb1b1fbc7c47c2df987dd6b27179691f6..147bc4a83d370646323bee75ffa2719aa76e8760 100644 (file)
@@ -61,7 +61,7 @@ public:
   }
 private:
   std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
-  virtual void anchor();
+  virtual void anchor() override;
 };
 
 }
index 09eb55fc32320295b5fafd0a0a0108c606f4f93c..786f00f5e8eecb52755928cf1d1b5b7c464fe2db 100644 (file)
@@ -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())