[llvm] r228974 - Add missing override.
David Blaikie
dblaikie at gmail.com
Thu Feb 12 14:58:54 PST 2015
Author: dblaikie
Date: Thu Feb 12 16:58:53 2015
New Revision: 228974
URL: http://llvm.org/viewvc/llvm-project?rev=228974&view=rev
Log:
Add missing override.
Modified:
llvm/trunk/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
Modified: llvm/trunk/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h?rev=228974&r1=228973&r2=228974&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h Thu Feb 12 16:58:53 2015
@@ -27,19 +27,19 @@ public:
return Enumerator->getChildCount();
}
- std::unique_ptr<ChildType> getChildAtIndex(uint32_t Index) const {
+ std::unique_ptr<ChildType> getChildAtIndex(uint32_t Index) const override {
std::unique_ptr<PDBSymbol> Child = Enumerator->getChildAtIndex(Index);
return make_concrete_child(std::move(Child));
}
- std::unique_ptr<ChildType> getNext() {
+ std::unique_ptr<ChildType> getNext() override {
std::unique_ptr<PDBSymbol> Child = Enumerator->getNext();
return make_concrete_child(std::move(Child));
}
- void reset() { Enumerator->reset(); }
+ void reset() override { Enumerator->reset(); }
- ConcreteSymbolEnumerator<ChildType> *clone() const {
+ ConcreteSymbolEnumerator<ChildType> *clone() const override {
std::unique_ptr<IPDBEnumSymbols> WrappedClone(Enumerator->clone());
return new ConcreteSymbolEnumerator<ChildType>(std::move(WrappedClone));
}
More information about the llvm-commits
mailing list