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
15namespace clang {
16namespace driver {
17namespace tools {
18namespace ifstool {
19class LLVM_LIBRARY_VISIBILITY Merger : public Tool {
20public:
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
37

source code of clang/lib/Driver/ToolChains/InterfaceStubs.h