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