mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-20 20:38:48 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94125 91177308-0d34-0410-b5e6-96231b3b80d8
37 lines
987 B
C++
37 lines
987 B
C++
//===-- llvm/Target/TargetAsmLexer.h - Target Assembly Lexer ----*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TARGET_TARGETASMLEXER_H
|
|
#define LLVM_TARGET_TARGETASMLEXER_H
|
|
|
|
namespace llvm {
|
|
class Target;
|
|
|
|
/// TargetAsmLexer - Generic interface to target specific assembly lexers.
|
|
class TargetAsmLexer {
|
|
TargetAsmLexer(const TargetAsmLexer &); // DO NOT IMPLEMENT
|
|
void operator=(const TargetAsmLexer &); // DO NOT IMPLEMENT
|
|
protected: // Can only create subclasses.
|
|
TargetAsmLexer(const Target &);
|
|
|
|
/// TheTarget - The Target that this machine was created for.
|
|
const Target &TheTarget;
|
|
|
|
public:
|
|
virtual ~TargetAsmLexer();
|
|
|
|
const Target &getTarget() const { return TheTarget; }
|
|
|
|
|
|
};
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|