blob: 627d80bdda093f115c330583d11e9222004e2252 [file] [log] [blame]
David L. Jonesf561aba2017-03-08 01:02:16 +00001//===--- Contiki.h - Contiki ToolChain Implementations ----------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
David L. Jonesf561aba2017-03-08 01:02:16 +00006//
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
15namespace clang {
16namespace driver {
17namespace toolchains {
18
19class LLVM_LIBRARY_VISIBILITY Contiki : public Generic_ELF {
20public:
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.
Petr Hosek8d612142018-04-10 19:55:55 +000025 void addLibCxxIncludePaths(
26 const llvm::opt::ArgList &DriverArgs,
27 llvm::opt::ArgStringList &CC1Args) const override {}
David L. Jonesf561aba2017-03-08 01:02:16 +000028 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