[docs] Fix build-docs.sh
[llvm-project.git] / clang / lib / Driver / ToolChains / Haiku.h
blob669379a216050d1bef3d68aa535dd3092d770f63
1 //===--- Haiku.h - Haiku 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HAIKU_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HAIKU_H
12 #include "Gnu.h"
13 #include "clang/Driver/Driver.h"
14 #include "clang/Driver/ToolChain.h"
16 namespace clang {
17 namespace driver {
18 namespace toolchains {
20 class LLVM_LIBRARY_VISIBILITY Haiku : public Generic_ELF {
21 public:
22 Haiku(const Driver &D, const llvm::Triple &Triple,
23 const llvm::opt::ArgList &Args);
25 bool isPIEDefault(const llvm::opt::ArgList &Args) const override {
26 return getTriple().getArch() == llvm::Triple::x86_64;
29 void addLibCxxIncludePaths(
30 const llvm::opt::ArgList &DriverArgs,
31 llvm::opt::ArgStringList &CC1Args) const override;
32 void addLibStdCxxIncludePaths(
33 const llvm::opt::ArgList &DriverArgs,
34 llvm::opt::ArgStringList &CC1Args) const override;
37 } // end namespace toolchains
38 } // end namespace driver
39 } // end namespace clang
41 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HAIKU_H