mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	Add couple of missing 'override' keyword. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -61,7 +61,7 @@ public: | |||||||
|   } |   } | ||||||
| private: | private: | ||||||
|   std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints; |   std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints; | ||||||
|   virtual void anchor(); |   virtual void anchor() override; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -71,7 +71,7 @@ public: | |||||||
|   typedef typename UnitVector::iterator iterator; |   typedef typename UnitVector::iterator iterator; | ||||||
|   typedef llvm::iterator_range<typename UnitVector::iterator> iterator_range; |   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, |     auto *CU = std::upper_bound(this->begin(), this->end(), Offset, | ||||||
|                                 UnitOffsetComparator()); |                                 UnitOffsetComparator()); | ||||||
|     if (CU != this->end()) |     if (CU != this->end()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user