Ricky Taylor 9f015757de [M68k] Make M68k TargetMachine use getter function
This makes M68k match other platforms in this regard.

This was done as part of the AsmParser/Disassembler work since the entry
functions of those modules usually reference `getTheXXXTarget()`.

Differential Revision: https://reviews.llvm.org/D98517
2021-03-14 11:51:58 -07:00

19 lines
625 B
C++

//===-- M68kTargetInfo.h - M68k Target Implementation -----------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_M68K_TARGETINFO_M68KTARGETINFO_H
#define LLVM_LIB_TARGET_M68K_TARGETINFO_M68KTARGETINFO_H
namespace llvm {
class Target;
Target &getTheM68kTarget();
} // namespace llvm
#endif // LLVM_LIB_TARGET_M68K_TARGETINFO_M68KTARGETINFO_H