[llvm] r203341 - De-virtualize a method since it doesn't override anything (yay 'override' keyword) and its class is in an anonymous namespace.
Craig Topper
craig.topper at gmail.com
Fri Mar 7 23:07:08 PST 2014
Author: ctopper
Date: Sat Mar 8 01:07:08 2014
New Revision: 203341
URL: http://llvm.org/viewvc/llvm-project?rev=203341&view=rev
Log:
De-virtualize a method since it doesn't override anything (yay 'override' keyword) and its class is in an anonymous namespace.
Modified:
llvm/trunk/lib/MC/MCAsmStreamer.cpp
Modified: llvm/trunk/lib/MC/MCAsmStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAsmStreamer.cpp?rev=203341&r1=203340&r2=203341&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAsmStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCAsmStreamer.cpp Sat Mar 8 01:07:08 2014
@@ -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
More information about the llvm-commits
mailing list