clang  10.0.0svn
Lanai.h
Go to the documentation of this file.
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.
27  const llvm::opt::ArgList &DriverArgs,
28  llvm::opt::ArgStringList &CC1Args) const override {}
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
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition: Driver.h:59
LanaiToolChain(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
Definition: Lanai.h:21
Dataflow Directional Tag Classes.
bool IsIntegratedAssemblerDefault() const override
IsIntegratedAssemblerDefault - Does this tool chain enable -integrated-as by default.
Definition: Lanai.h:33
void addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
Definition: Lanai.h:26
void addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
Definition: Lanai.h:29