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
This commit is contained in:
Rafael Espindola 2015-04-09 13:04:20 +00:00
parent 52c5645668
commit 63905ba56a

View File

@ -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<MCInstPrinter> InstPrinter;
std::unique_ptr<MCCodeEmitter> Emitter;
std::unique_ptr<MCAsmBackend> AsmBackend;