forked from OSchip/llvm-project
bpf: clang-format on BPFAsmPrinter.cpp
Signed-off-by: Yonghong Song <yhs@fb.com> llvm-svn: 305301
This commit is contained in:
parent
de2ac17b7b
commit
7e9d2cb553
|
@ -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) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue