clang  6.0.0svn
Lanai.h
Go to the documentation of this file.
1 //===--- Lanai.h - Lanai ToolChain Implementations --------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LANAI_H
11 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LANAI_H
12 
13 #include "Gnu.h"
14 #include "clang/Driver/ToolChain.h"
15 
16 namespace clang {
17 namespace driver {
18 namespace toolchains {
19 
20 class LLVM_LIBRARY_VISIBILITY LanaiToolChain : public Generic_ELF {
21 public:
22  LanaiToolChain(const Driver &D, const llvm::Triple &Triple,
23  const llvm::opt::ArgList &Args)
24  : Generic_ELF(D, Triple, Args) {}
25 
26  // No support for finding a C++ standard library yet.
27  std::string findLibCxxIncludePath() const override { return ""; }
29  const llvm::opt::ArgList &DriverArgs,
30  llvm::opt::ArgStringList &CC1Args) const override {}
31 
32  bool IsIntegratedAssemblerDefault() const override { return true; }
33 };
34 
35 } // end namespace toolchains
36 } // end namespace driver
37 } // end namespace clang
38 
39 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LANAI_H
std::string findLibCxxIncludePath() const override
Definition: Lanai.h:27
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition: Driver.h:65
LanaiToolChain(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
Definition: Lanai.h:22
Dataflow Directional Tag Classes.
bool IsIntegratedAssemblerDefault() const override
IsIntegratedAssemblerDefault - Does this tool chain enable -integrated-as by default.
Definition: Lanai.h:32
void addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
Definition: Lanai.h:28