Contiki.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //===--- Contiki.h - Contiki ToolChain 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_CONTIKI_H
  9. #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_CONTIKI_H
  10. #include "Gnu.h"
  11. #include "clang/Driver/ToolChain.h"
  12. namespace clang {
  13. namespace driver {
  14. namespace toolchains {
  15. class LLVM_LIBRARY_VISIBILITY Contiki : public Generic_ELF {
  16. public:
  17. Contiki(const Driver &D, const llvm::Triple &Triple,
  18. const llvm::opt::ArgList &Args);
  19. // No support for finding a C++ standard library yet.
  20. void addLibCxxIncludePaths(
  21. const llvm::opt::ArgList &DriverArgs,
  22. llvm::opt::ArgStringList &CC1Args) const override {}
  23. void addLibStdCxxIncludePaths(
  24. const llvm::opt::ArgList &DriverArgs,
  25. llvm::opt::ArgStringList &CC1Args) const override {}
  26. SanitizerMask getSupportedSanitizers() const override;
  27. };
  28. } // end namespace toolchains
  29. } // end namespace driver
  30. } // end namespace clang
  31. #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_CONTIKI_H