[llvm] r219516 - Add couple of missing 'override' keyword. NFC.

Fariborz Jahanian fjahanian at apple.com
Fri Oct 10 10:34:31 PDT 2014


Author: fjahanian
Date: Fri Oct 10 12:34:30 2014
New Revision: 219516

URL: http://llvm.org/viewvc/llvm-project?rev=219516&view=rev
Log:
Add couple of missing 'override' keyword. NFC.


Modified:
    llvm/trunk/include/llvm/CodeGen/PBQPRAConstraint.h
    llvm/trunk/lib/DebugInfo/DWARFUnit.h

Modified: llvm/trunk/include/llvm/CodeGen/PBQPRAConstraint.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/PBQPRAConstraint.h?rev=219516&r1=219515&r2=219516&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/PBQPRAConstraint.h (original)
+++ llvm/trunk/include/llvm/CodeGen/PBQPRAConstraint.h Fri Oct 10 12:34:30 2014
@@ -61,7 +61,7 @@ public:
   }
 private:
   std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
-  virtual void anchor();
+  virtual void anchor() override;
 };
 
 }

Modified: llvm/trunk/lib/DebugInfo/DWARFUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFUnit.h?rev=219516&r1=219515&r2=219516&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFUnit.h (original)
+++ llvm/trunk/lib/DebugInfo/DWARFUnit.h Fri Oct 10 12:34:30 2014
@@ -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())





More information about the llvm-commits mailing list