llvm.org GIT mirror llvm / 7e940c4
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 Chandler Carruth 4 years ago
1 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
6969 public:
7070 MockRawSymbol(PDB_SymType SymType) : Type(SymType) {}
7171
72 virtual void dump(llvm::raw_ostream &OS) const {}
73
74 virtual std::unique_ptr
72 void dump(llvm::raw_ostream &OS) const override {}
73
74 std::unique_ptr
7575 findChildren(PDB_SymType Type, StringRef Name,
76 PDB_NameSearchFlags Flags) const {
76 PDB_NameSearchFlags Flags) const override {
7777 return nullptr;
7878 }
79 virtual std::unique_ptr
79 std::unique_ptr
8080 findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags,
81 uint32_t RVA) const {
81 uint32_t RVA) const override {
8282 return nullptr;
8383 }
84 virtual std::unique_ptr
85 findInlineFramesByRVA(uint32_t RVA) const {
84 std::unique_ptr
85 findInlineFramesByRVA(uint32_t RVA) const override {
8686 return nullptr;
8787 }
8888
89 virtual void getDataBytes(llvm::SmallVector &bytes) const {}
89 void getDataBytes(llvm::SmallVector &bytes) const override {}
9090
9191 PDB_SymType getSymTag() const override { return Type; }
9292