summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit12f0ca454b140a43a9cdd0108eb068955421f4d1 (patch)
tree7a6842557a8b83fe5114a9210e8771ae50ba3274 /llvm/lib
parent34a61bc97ad8fca089aa7f4892d1592aa744a850 (diff)
downloadbcm5719-llvm-12f0ca454b140a43a9cdd0108eb068955421f4d1.tar.gz
bcm5719-llvm-12f0ca454b140a43a9cdd0108eb068955421f4d1.zip
De-virtualize a method since it doesn't override anything (yay 'override' keyword) and its class is in an anonymous namespace.
llvm-svn: 203341
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCAsmStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp
index c4de208cb61..75db7a96bbf 100644
--- a/llvm/lib/MC/MCAsmStreamer.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud