From 70215f556ff391f6bd741e22a41bf3bf77489540 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 20 Jul 2018 18:22:12 +0000 Subject: [PATCH] [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 --- lib/Demangle/MicrosoftDemangle.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Demangle/MicrosoftDemangle.cpp b/lib/Demangle/MicrosoftDemangle.cpp index bb955ca9b84..8977b9fe570 100644 --- a/lib/Demangle/MicrosoftDemangle.cpp +++ b/lib/Demangle/MicrosoftDemangle.cpp @@ -228,7 +228,7 @@ struct Name { struct PointerType : public Type { Type *clone(ArenaAllocator &Arena) const override; - void outputPre(OutputStream &OS); + void outputPre(OutputStream &OS) override; void outputPost(OutputStream &OS) override; bool isMemberPointer() const { return false; } @@ -240,8 +240,8 @@ struct PointerType : public Type { struct FunctionType : public Type { Type *clone(ArenaAllocator &Arena) const override; - void outputPre(OutputStream &OS); - void outputPost(OutputStream &OS); + void outputPre(OutputStream &OS) override; + void outputPost(OutputStream &OS) override; Type *ReturnType = nullptr; // If this is a reference, the type of reference. -- 2.50.1