mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
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:
parent
f65ef609fe
commit
b17b68435b
@ -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
Block a user