clang 22.0.0git
Cygwin.h
Go to the documentation of this file.
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"
14
15namespace clang {
16namespace driver {
17namespace toolchains {
18
19class LLVM_LIBRARY_VISIBILITY Cygwin : public Generic_GCC {
20public:
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
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition Driver.h:99
llvm::ExceptionHandling GetExceptionModel(const llvm::opt::ArgList &Args) const override
GetExceptionModel - Return the tool chain exception model.
Definition Cygwin.cpp:49
void AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
Add the clang cc1 arguments for system include paths.
Definition Cygwin.cpp:56
Cygwin(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
Definition Cygwin.cpp:24
Generic_GCC(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
Definition Gnu.cpp:2984
The JSON file list parser is used to communicate input to InstallAPI.