bpf: clang-format on BPFAsmPrinter.cpp

Signed-off-by: Yonghong Song <yhs@fb.com>
llvm-svn: 305301
This commit is contained in:
Yonghong Song 2017-06-13 16:17:20 +00:00
parent de2ac17b7b
commit 7e9d2cb553
1 changed files with 3 additions and 2 deletions

View File

@ -35,14 +35,15 @@ using namespace llvm;
namespace { namespace {
class BPFAsmPrinter : public AsmPrinter { class BPFAsmPrinter : public AsmPrinter {
public: public:
explicit BPFAsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer) explicit BPFAsmPrinter(TargetMachine &TM,
std::unique_ptr<MCStreamer> Streamer)
: AsmPrinter(TM, std::move(Streamer)) {} : AsmPrinter(TM, std::move(Streamer)) {}
StringRef getPassName() const override { return "BPF Assembly Printer"; } StringRef getPassName() const override { return "BPF Assembly Printer"; }
void EmitInstruction(const MachineInstr *MI) override; void EmitInstruction(const MachineInstr *MI) override;
}; };
} } // namespace
void BPFAsmPrinter::EmitInstruction(const MachineInstr *MI) { void BPFAsmPrinter::EmitInstruction(const MachineInstr *MI) {