clang 10.0.0git

InterfaceStubs.h
Go to the documentation of this file.
1 //===--- InterfaceStubs.cpp - Base InterfaceStubs 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_IFS_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_IFS_H
11
12 #include "clang/Driver/Tool.h"
13 #include "clang/Driver/ToolChain.h"
14
15 namespace clang {
16 namespace driver {
17 namespace tools {
18 namespace ifstool {
19 class LLVM_LIBRARY_VISIBILITY Merger : public Tool {
20 public:
21 Merger(const ToolChain &TC) : Tool("IFS::Merger", "llvm-ifs", TC) {}
22
23 bool hasIntegratedCPP() const override { return false; }
24 bool isLinkJob() const override { return false; }
25
26 void ConstructJob(Compilation &C, const JobAction &JA,
27 const InputInfo &Output, const InputInfoList &Inputs,
28 const llvm::opt::ArgList &TCArgs,
29 const char *LinkingOutput) const override;
30 };
31 } // end namespace ifstool
32 } // end namespace tools
33 } // end namespace driver
34 } // end namespace clang
35
36 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_IFS_H
clang::driver::tools::ifstool::Merger
Definition: InterfaceStubs.h:19
Tool.h
clang::driver::JobAction
Definition: Action.h:375
clang::driver::tools::ifstool::Merger::Merger
Merger(const ToolChain &TC)
Definition: InterfaceStubs.h:21
clang::driver::InputInfo
InputInfo - Wrapper for information about an input source.
Definition: InputInfo.h:22
clang::driver::tools::ifstool::Merger::hasIntegratedCPP
bool hasIntegratedCPP() const override
Definition: InterfaceStubs.h:23
ToolChain.h
llvm::SmallVector
Definition: LLVM.h:35
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:21
clang::driver::Tool
Tool - Information on a specific compilation tool.
Definition: Tool.h:33
clang::driver::Compilation
Compilation - A set of tasks to perform for a single driver invocation.
Definition: Compilation.h:45
clang::driver::tools::ifstool::Merger::isLinkJob
bool isLinkJob() const override
Definition: InterfaceStubs.h:24
clang::driver::ToolChain
ToolChain - Access to tools for a single platform.
Definition: ToolChain.h:88