diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-08 07:07:08 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-08 07:07:08 +0000 |
commit | ad1b19477357b31f13aadb78bd0e134684766b6c (patch) | |
tree | e6cce0db3810627385cdc07ba8e432ff4528006a | |
parent | 5747a143a2e7532db7bf543dc1dd315557e7b4f2 (diff) | |
download | llvm-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.cpp | 2 |
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 |