summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-08 07:07:08 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-08 07:07:08 +0000
commitad1b19477357b31f13aadb78bd0e134684766b6c (patch)
treee6cce0db3810627385cdc07ba8e432ff4528006a
parent5747a143a2e7532db7bf543dc1dd315557e7b4f2 (diff)
downloadllvm-ad1b19477357b31f13aadb78bd0e134684766b6c.tar.gz
llvm-ad1b19477357b31f13aadb78bd0e134684766b6c.tar.bz2
llvm-ad1b19477357b31f13aadb78bd0e134684766b6c.tar.xz
De-virtualize a method since it doesn't override anything (yay 'override' keyword) and its class is in an anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203341 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/MC/MCAsmStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp
index c4de208cb6..75db7a96bb 100644
--- a/lib/MC/MCAsmStreamer.cpp
+++ b/lib/MC/MCAsmStreamer.cpp
@@ -102,7 +102,7 @@ public:
void AddComment(const Twine &T) override;
/// AddEncodingComment - Add a comment showing the encoding of an instruction.
- virtual void AddEncodingComment(const MCInst &Inst, const MCSubtargetInfo &);
+ void AddEncodingComment(const MCInst &Inst, const MCSubtargetInfo &);
/// GetCommentOS - Return a raw_ostream that comments can be written to.
/// Unlike AddComment, you are required to terminate comments with \n if you