Coverage Report

Created: 2022-07-16 07:03

/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/lib/Basic/Targets/DirectX.cpp
Line
Count
Source
1
//===--- DirectX.cpp - Implement DirectX target feature support -----------===//
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
// This file implements DirectX TargetInfo objects.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "DirectX.h"
14
#include "Targets.h"
15
16
using namespace clang;
17
using namespace clang::targets;
18
19
void DirectXTargetInfo::getTargetDefines(const LangOptions &Opts,
20
47
                                         MacroBuilder &Builder) const {
21
47
  DefineStd(Builder, "DIRECTX", Opts);
22
47
}