summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/MicrosoftDemangle.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2018-07-20 18:22:12 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2018-07-20 18:22:12 +0000
commita2e18bba304842cecb8d68bc4199af17067d7ef4 (patch)
tree38706fc5367921f096850f855a14cc9572380009 /llvm/lib/Demangle/MicrosoftDemangle.cpp
parent91ecedd29e4e93e96f306aecdb1bcd367a7f67eb (diff)
downloadbcm5719-llvm-a2e18bba304842cecb8d68bc4199af17067d7ef4.tar.gz
bcm5719-llvm-a2e18bba304842cecb8d68bc4199af17067d7ef4.zip
[Demangler] Add missing overrides
-Winconsistent-missing-override complains about this. llvm-svn: 337592
Diffstat (limited to 'llvm/lib/Demangle/MicrosoftDemangle.cpp')
-rw-r--r--llvm/lib/Demangle/MicrosoftDemangle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Demangle/MicrosoftDemangle.cpp b/llvm/lib/Demangle/MicrosoftDemangle.cpp
index bb955ca9b84..8977b9fe570 100644
--- a/llvm/lib/Demangle/MicrosoftDemangle.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud