[docs] Fix build-docs.sh
[llvm-project.git] / clang / lib / Driver / ToolChains / Arch / M68k.h
blob41d53efb940ba34914f271f20b0818bf29be8f20
1 //===--- M68k.h - M68k-specific Tool Helpers -----------------*- C++-*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H
12 #include "clang/Driver/Driver.h"
13 #include "llvm/ADT/StringRef.h"
14 #include "llvm/Option/Option.h"
15 #include <string>
16 #include <vector>
18 namespace clang {
19 namespace driver {
20 namespace tools {
21 namespace m68k {
23 enum class FloatABI {
24 Invalid,
25 Soft,
26 Hard,
29 FloatABI getM68kFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
31 std::string getM68kTargetCPU(const llvm::opt::ArgList &Args);
33 void getM68kTargetFeatures(const Driver &D, const llvm::Triple &Triple,
34 const llvm::opt::ArgList &Args,
35 std::vector<llvm::StringRef> &Features);
37 } // end namespace m68k
38 } // end namespace tools
39 } // end namespace driver
40 } // end namespace clang
42 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H