Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 70215f5

Browse files
committed
[Demangler] Add missing overrides
-Winconsistent-missing-override complains about this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337592 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent aeb65f1 commit 70215f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Demangle/MicrosoftDemangle.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ struct Name {
228228

229229
struct PointerType : public Type {
230230
Type *clone(ArenaAllocator &Arena) const override;
231-
void outputPre(OutputStream &OS);
231+
void outputPre(OutputStream &OS) override;
232232
void outputPost(OutputStream &OS) override;
233233

234234
bool isMemberPointer() const { return false; }
@@ -240,8 +240,8 @@ struct PointerType : public Type {
240240

241241
struct FunctionType : public Type {
242242
Type *clone(ArenaAllocator &Arena) const override;
243-
void outputPre(OutputStream &OS);
244-
void outputPost(OutputStream &OS);
243+
void outputPre(OutputStream &OS) override;
244+
void outputPost(OutputStream &OS) override;
245245

246246
Type *ReturnType = nullptr;
247247
// If this is a reference, the type of reference.

0 commit comments

Comments
 (0)