PPCLinux.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
  9. #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
  10. #include "Linux.h"
  11. namespace clang {
  12. namespace driver {
  13. namespace toolchains {
  14. class LLVM_LIBRARY_VISIBILITY PPCLinuxToolChain : public Linux {
  15. public:
  16. PPCLinuxToolChain(const Driver &D, const llvm::Triple &Triple,
  17. const llvm::opt::ArgList &Args);
  18. void
  19. AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
  20. llvm::opt::ArgStringList &CC1Args) const override;
  21. private:
  22. bool SupportIEEEFloat128(const Driver &D, const llvm::Triple &Triple,
  23. const llvm::opt::ArgList &Args) const;
  24. };
  25. } // end namespace toolchains
  26. } // end namespace driver
  27. } // end namespace clang
  28. #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H