Coverage Report

Created: 2020-09-19 12:23

/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/lib/Driver/ToolChains/Haiku.cpp
Line
Count
Source (jump to first uncovered line)
1
//===--- Haiku.cpp - Haiku 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
#include "Haiku.h"
10
#include "CommonArgs.h"
11
12
using namespace clang::driver;
13
using namespace clang::driver::toolchains;
14
using namespace clang;
15
using namespace llvm::opt;
16
17
/// Haiku - Haiku tool chain which can call as(1) and ld(1) directly.
18
19
Haiku::Haiku(const Driver &D, const llvm::Triple& Triple, const ArgList &Args)
20
0
  : Generic_ELF(D, Triple, Args) {
21
0
22
0
}
23
24
void Haiku::addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
25
0
                                  llvm::opt::ArgStringList &CC1Args) const {
26
0
  addSystemInclude(DriverArgs, CC1Args,
27
0
                   getDriver().SysRoot + "/system/develop/headers/c++/v1");
28
0
}
29
30
void Haiku::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
31
0
                                     llvm::opt::ArgStringList &CC1Args) const {
32
0
  addLibStdCXXIncludePaths(getDriver().SysRoot, "/system/develop/headers/c++",
33
0
                           getTriple().str(), "", "", "", DriverArgs, CC1Args);
34
0
}