clang  14.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
llvm::SmallVector
Definition: LLVM.h:38
clang::driver::InputInfo
InputInfo - Wrapper for information about an input source.
Definition: InputInfo.h:22
clang::driver::Tool
Tool - Information on a specific compilation tool.
Definition: Tool.h:32
Tool.h
clang::driver::tools::ifstool::Merger::isLinkJob
bool isLinkJob() const override
Definition: InterfaceStubs.h:24
ToolChain.h
clang::driver::ToolChain
ToolChain - Access to tools for a single platform.
Definition: ToolChain.h:91
clang::driver::tools::ifstool::Merger::Merger
Merger(const ToolChain &TC)
Definition: InterfaceStubs.h:21
clang::driver::Compilation
Compilation - A set of tasks to perform for a single driver invocation.
Definition: Compilation.h:45
clang
Definition: CalledOnceCheck.h:17
clang::driver::tools::ifstool::Merger
Definition: InterfaceStubs.h:19
clang::driver::JobAction
Definition: Action.h:380
clang::driver::tools::ifstool::Merger::hasIntegratedCPP
bool hasIntegratedCPP() const override
Definition: InterfaceStubs.h:23