clang  10.0.0svn
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
InputInfo - Wrapper for information about an input source.
Definition: InputInfo.h:22
bool hasIntegratedCPP() const override
Dataflow Directional Tag Classes.
Tool - Information on a specific compilation tool.
Definition: Tool.h:33
Compilation - A set of tasks to perform for a single driver invocation.
Definition: Compilation.h:45
ToolChain - Access to tools for a single platform.
Definition: ToolChain.h:88