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