bpf: clang-format on BPFAsmPrinter.cpp

Signed-off-by: Yonghong Song <yhs@fb.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yonghong Song 2017-06-13 16:17:20 +00:00
parent f65ef609fe
commit b17b68435b

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) {