clang  7.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.
28  const llvm::opt::ArgList &DriverArgs,
29  llvm::opt::ArgStringList &CC1Args) const override {}
31  const llvm::opt::ArgList &DriverArgs,
32  llvm::opt::ArgStringList &CC1Args) const override {}
33 
34  bool IsIntegratedAssemblerDefault() const override { return true; }
35 };
36 
37 } // end namespace toolchains
38 } // end namespace driver
39 } // end namespace clang
40 
41 #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:22
Dataflow Directional Tag Classes.
bool IsIntegratedAssemblerDefault() const override
IsIntegratedAssemblerDefault - Does this tool chain enable -integrated-as by default.
Definition: Lanai.h:34
void addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
Definition: Lanai.h:27
void addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
Definition: Lanai.h:30