brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 63adaff Raw
39 lines · c
1//===--- PPCLinux.h - PowerPC ToolChain Implementations ---------*- 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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H11 12#include "Linux.h"13 14namespace clang {15namespace driver {16namespace toolchains {17 18class LLVM_LIBRARY_VISIBILITY PPCLinuxToolChain : public Linux {19public:20  PPCLinuxToolChain(const Driver &D, const llvm::Triple &Triple,21                    const llvm::opt::ArgList &Args);22 23  void24  AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,25                            llvm::opt::ArgStringList &CC1Args) const override;26 27private:28  bool SupportIEEEFloat128(const Driver &D, const llvm::Triple &Triple,29                           const llvm::opt::ArgList &Args) const;30  bool supportIBMLongDouble(const Driver &D,31                            const llvm::opt::ArgList &Args) const;32};33 34} // end namespace toolchains35} // end namespace driver36} // end namespace clang37 38#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H39