InterfaceStubs.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_IFS_H
  9. #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_IFS_H
  10. #include "clang/Driver/Tool.h"
  11. #include "clang/Driver/ToolChain.h"
  12. namespace clang {
  13. namespace driver {
  14. namespace tools {
  15. namespace ifstool {
  16. class LLVM_LIBRARY_VISIBILITY Merger : public Tool {
  17. public:
  18. Merger(const ToolChain &TC) : Tool("IFS::Merger", "llvm-ifs", TC) {}
  19. bool hasIntegratedCPP() const override { return false; }
  20. bool isLinkJob() const override { return false; }
  21. void ConstructJob(Compilation &C, const JobAction &JA,
  22. const InputInfo &Output, const InputInfoList &Inputs,
  23. const llvm::opt::ArgList &TCArgs,
  24. const char *LinkingOutput) const override;
  25. };
  26. } // end namespace ifstool
  27. } // end namespace tools
  28. } // end namespace driver
  29. } // end namespace clang
  30. #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_IFS_H