| 1 | //===----------------------------------------------------------------------===// |
| 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_CYGWIN_H |
| 10 | #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_CYGWIN_H |
| 11 | |
| 12 | #include "Gnu.h" |
| 13 | #include "clang/Driver/ToolChain.h" |
| 14 | |
| 15 | namespace clang { |
| 16 | namespace driver { |
| 17 | namespace toolchains { |
| 18 | |
| 19 | class LLVM_LIBRARY_VISIBILITY Cygwin : public Generic_GCC { |
| 20 | public: |
| 21 | Cygwin(const Driver &D, const llvm::Triple &Triple, |
| 22 | const llvm::opt::ArgList &Args); |
| 23 | |
| 24 | llvm::ExceptionHandling |
| 25 | GetExceptionModel(const llvm::opt::ArgList &Args) const override; |
| 26 | |
| 27 | void |
| 28 | AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, |
| 29 | llvm::opt::ArgStringList &CC1Args) const override; |
| 30 | }; |
| 31 | |
| 32 | } // end namespace toolchains |
| 33 | } // end namespace driver |
| 34 | } // end namespace clang |
| 35 | |
| 36 | #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_CYGWIN_H |
| 37 | |