diff options
author | Eric Christopher <echristo@gmail.com> | 2013-11-19 02:01:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-11-19 02:01:07 +0000 |
commit | e40e68add7f17f6ad5cd5e85ea44b149f6935147 (patch) | |
tree | d66b2e9f97b002ca6bcf075ad66d82a8c91e5539 | |
parent | 15602d786beee8308af765ade2e6debde2b81ad2 (diff) | |
download | external_llvm-e40e68add7f17f6ad5cd5e85ea44b149f6935147.zip external_llvm-e40e68add7f17f6ad5cd5e85ea44b149f6935147.tar.gz external_llvm-e40e68add7f17f6ad5cd5e85ea44b149f6935147.tar.bz2 |
Remove unused special member functions and reformat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195077 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp | 14 | ||||
-rw-r--r-- | lib/Target/Mips/MipsTargetStreamer.h | 3 |
2 files changed, 3 insertions, 14 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp b/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp index 250b0af..04692a5 100644 --- a/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp +++ b/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp @@ -23,18 +23,8 @@ using namespace llvm; // pin vtable to this file void MipsTargetStreamer::anchor() {} -MipsTargetAsmStreamer::MipsTargetAsmStreamer() {} - -void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) { - return; - -} -void MipsTargetAsmStreamer::emitSymSTO(MCSymbol *Sym, unsigned Val) { - return; - -} - -MipsTargetELFStreamer::MipsTargetELFStreamer() {} +void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) { return; } +void MipsTargetAsmStreamer::emitSymSTO(MCSymbol *Sym, unsigned Val) { return; } MCELFStreamer &MipsTargetELFStreamer::getStreamer() { return static_cast<MCELFStreamer &>(*Streamer); diff --git a/lib/Target/Mips/MipsTargetStreamer.h b/lib/Target/Mips/MipsTargetStreamer.h index 12ea3e4..4edecc4 100644 --- a/lib/Target/Mips/MipsTargetStreamer.h +++ b/lib/Target/Mips/MipsTargetStreamer.h @@ -16,6 +16,7 @@ namespace llvm { class MipsTargetStreamer : public MCTargetStreamer { virtual void anchor(); + public: virtual void emitMipsHackELFFlags(unsigned Flags) = 0; virtual void emitSymSTO(MCSymbol *Sym, unsigned Val) = 0; @@ -24,7 +25,6 @@ public: // This part is for ascii assembly output class MipsTargetAsmStreamer : public MipsTargetStreamer { public: - MipsTargetAsmStreamer(); virtual void emitMipsHackELFFlags(unsigned Flags); virtual void emitSymSTO(MCSymbol *Sym, unsigned Val); }; @@ -33,7 +33,6 @@ public: class MipsTargetELFStreamer : public MipsTargetStreamer { public: MCELFStreamer &getStreamer(); - MipsTargetELFStreamer(); virtual void emitMipsHackELFFlags(unsigned Flags); virtual void emitSymSTO(MCSymbol *Sym, unsigned Val); }; |