mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-08 18:30:26 +00:00
[C++11] Remove 'virtual' keyword from methods marked with 'override' keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -91,12 +91,12 @@ public:
|
||||
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 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user