[C++11] Remove 'virtual' keyword from methods marked with 'override' keyword.
llvm-svn: 203442
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp
index c7f76d3..2d593a8 100644
--- a/llvm/lib/Support/MemoryBuffer.cpp
+++ b/llvm/lib/Support/MemoryBuffer.cpp
@@ -91,12 +91,12 @@
init(InputData.begin(), InputData.end(), RequiresNullTerminator);
}
- virtual const char *getBufferIdentifier() const override {
+ const char *getBufferIdentifier() const override {
// The name is stored after the class itself.
return reinterpret_cast<const char*>(this + 1);
}
- virtual BufferKind getBufferKind() const override {
+ BufferKind getBufferKind() const override {
return MemoryBuffer_Malloc;
}
};
@@ -217,12 +217,12 @@
}
}
- virtual const char *getBufferIdentifier() const override {
+ const char *getBufferIdentifier() const override {
// The name is stored after the class itself.
return reinterpret_cast<const char *>(this + 1);
}
- virtual BufferKind getBufferKind() const override {
+ BufferKind getBufferKind() const override {
return MemoryBuffer_MMap;
}
};