[llvm] r337592 - [Demangler] Add missing overrides
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 20 11:22:12 PDT 2018
Author: d0k
Date: Fri Jul 20 11:22:12 2018
New Revision: 337592
URL: http://llvm.org/viewvc/llvm-project?rev=337592&view=rev
Log:
[Demangler] Add missing overrides
-Winconsistent-missing-override complains about this.
Modified:
llvm/trunk/lib/Demangle/MicrosoftDemangle.cpp
Modified: llvm/trunk/lib/Demangle/MicrosoftDemangle.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Demangle/MicrosoftDemangle.cpp?rev=337592&r1=337591&r2=337592&view=diff
==============================================================================
--- llvm/trunk/lib/Demangle/MicrosoftDemangle.cpp (original)
+++ llvm/trunk/lib/Demangle/MicrosoftDemangle.cpp Fri Jul 20 11:22:12 2018
@@ -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.
More information about the llvm-commits
mailing list