xref: /freebsd-src/contrib/llvm-project/clang/lib/Basic/Targets/DirectX.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
1*81ad6265SDimitry Andric //===--- DirectX.cpp - Implement DirectX target feature support -----------===//
2*81ad6265SDimitry Andric //
3*81ad6265SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*81ad6265SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*81ad6265SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*81ad6265SDimitry Andric //
7*81ad6265SDimitry Andric //===----------------------------------------------------------------------===//
8*81ad6265SDimitry Andric //
9*81ad6265SDimitry Andric // This file implements DirectX TargetInfo objects.
10*81ad6265SDimitry Andric //
11*81ad6265SDimitry Andric //===----------------------------------------------------------------------===//
12*81ad6265SDimitry Andric 
13*81ad6265SDimitry Andric #include "DirectX.h"
14*81ad6265SDimitry Andric #include "Targets.h"
15*81ad6265SDimitry Andric 
16*81ad6265SDimitry Andric using namespace clang;
17*81ad6265SDimitry Andric using namespace clang::targets;
18*81ad6265SDimitry Andric 
getTargetDefines(const LangOptions & Opts,MacroBuilder & Builder) const19*81ad6265SDimitry Andric void DirectXTargetInfo::getTargetDefines(const LangOptions &Opts,
20*81ad6265SDimitry Andric                                          MacroBuilder &Builder) const {
21*81ad6265SDimitry Andric   DefineStd(Builder, "DIRECTX", Opts);
22*81ad6265SDimitry Andric }
23