Home | History | Annotate | Line # | Download | only in ToolChains
      1 //===--- Lanai.h - Lanai 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_LANAI_H
     10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LANAI_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 LanaiToolChain : public Generic_ELF {
     20 public:
     21   LanaiToolChain(const Driver &D, const llvm::Triple &Triple,
     22                  const llvm::opt::ArgList &Args)
     23       : Generic_ELF(D, Triple, Args) {}
     24 
     25   // No support for finding a C++ standard library yet.
     26   void addLibCxxIncludePaths(
     27       const llvm::opt::ArgList &DriverArgs,
     28       llvm::opt::ArgStringList &CC1Args) const override {}
     29   void addLibStdCxxIncludePaths(
     30       const llvm::opt::ArgList &DriverArgs,
     31       llvm::opt::ArgStringList &CC1Args) const override {}
     32 
     33   bool IsIntegratedAssemblerDefault() const override { return true; }
     34 };
     35 
     36 } // end namespace toolchains
     37 } // end namespace driver
     38 } // end namespace clang
     39 
     40 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LANAI_H
     41