From: Benjamin Kramer Date: Fri, 20 Jul 2018 18:22:12 +0000 (+0000) Subject: [Demangler] Add missing overrides X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70215f556ff391f6bd741e22a41bf3bf77489540;p=llvm [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 --- 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.