xref: /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/PPCLinux.h (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
11 
12 #include "Linux.h"
13 
14 namespace clang {
15 namespace driver {
16 namespace toolchains {
17 
18 class LLVM_LIBRARY_VISIBILITY PPCLinuxToolChain : public Linux {
19 public:
20   PPCLinuxToolChain(const Driver &D, const llvm::Triple &Triple,
21                     const llvm::opt::ArgList &Args);
22 
23   void
24   AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
25                             llvm::opt::ArgStringList &CC1Args) const override;
26 
27 private:
28   bool SupportIEEEFloat128(const Driver &D, const llvm::Triple &Triple,
29                            const llvm::opt::ArgList &Args) const;
30 };
31 
32 } // end namespace toolchains
33 } // end namespace driver
34 } // end namespace clang
35 
36 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
37