mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Add header guards to files that were missing guards. Remove #endif comments as they don't seem common in LLVM (we can easily add them back if we decide they're useful) Changes made by clang-tidy with minor tweaks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215558 91177308-0d34-0410-b5e6-96231b3b80d8
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
//===- AArch64Disassembler.h - Disassembler for AArch64 ---------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|
|
#define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|
|
|
|
#include "llvm/MC/MCDisassembler.h"
|
|
|
|
namespace llvm {
|
|
|
|
class MCInst;
|
|
class MemoryObject;
|
|
class raw_ostream;
|
|
|
|
class AArch64Disassembler : public MCDisassembler {
|
|
public:
|
|
AArch64Disassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
|
|
: MCDisassembler(STI, Ctx) {}
|
|
|
|
~AArch64Disassembler() {}
|
|
|
|
/// getInstruction - See MCDisassembler.
|
|
MCDisassembler::DecodeStatus
|
|
getInstruction(MCInst &instr, uint64_t &size, const MemoryObject ®ion,
|
|
uint64_t address, raw_ostream &vStream,
|
|
raw_ostream &cStream) const override;
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|