From 63905ba56ad99d9339fe23b7dab73b8451792a9f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 9 Apr 2015 13:04:20 +0000 Subject: [PATCH] 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 --- lib/MC/MCAsmStreamer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.34.1