From: Rafael Espindola Date: Thu, 9 Apr 2015 13:04:20 +0000 (+0000) Subject: Nothing inherits from the asm streamer. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63905ba56ad99d9339fe23b7dab73b8451792a9f;p=oota-llvm.git Nothing inherits from the asm streamer. Make that explicit and remove protected: git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234484 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 9eba5e5bae7..ab6ae2586ea 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -36,11 +36,9 @@ using namespace llvm; namespace { -class MCAsmStreamer : public MCStreamer { -protected: +class MCAsmStreamer final : public MCStreamer { formatted_raw_ostream &OS; const MCAsmInfo *MAI; -private: std::unique_ptr InstPrinter; std::unique_ptr Emitter; std::unique_ptr AsmBackend;