mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Consistently use override rather than virtual.
This fixes -Winconsistent-missing-override warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
05bd43dc6e
commit
7e940c4725
@ -70,24 +70,24 @@ class MockRawSymbol : public IPDBRawSymbol {
|
||||
public:
|
||||
MockRawSymbol(PDB_SymType SymType) : Type(SymType) {}
|
||||
|
||||
virtual void dump(llvm::raw_ostream &OS) const {}
|
||||
void dump(llvm::raw_ostream &OS) const override {}
|
||||
|
||||
virtual std::unique_ptr<IPDBEnumSymbols>
|
||||
std::unique_ptr<IPDBEnumSymbols>
|
||||
findChildren(PDB_SymType Type, StringRef Name,
|
||||
PDB_NameSearchFlags Flags) const {
|
||||
PDB_NameSearchFlags Flags) const override {
|
||||
return nullptr;
|
||||
}
|
||||
virtual std::unique_ptr<IPDBEnumSymbols>
|
||||
std::unique_ptr<IPDBEnumSymbols>
|
||||
findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags,
|
||||
uint32_t RVA) const {
|
||||
uint32_t RVA) const override {
|
||||
return nullptr;
|
||||
}
|
||||
virtual std::unique_ptr<IPDBEnumSymbols>
|
||||
findInlineFramesByRVA(uint32_t RVA) const {
|
||||
std::unique_ptr<IPDBEnumSymbols>
|
||||
findInlineFramesByRVA(uint32_t RVA) const override {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const {}
|
||||
void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const override {}
|
||||
|
||||
PDB_SymType getSymTag() const override { return Type; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user