Path: blob/main/contrib/llvm-project/clang/lib/Basic/Targets/DirectX.cpp
35266 views
//===--- DirectX.cpp - Implement DirectX target feature support -----------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file implements DirectX TargetInfo objects.9//10//===----------------------------------------------------------------------===//1112#include "DirectX.h"13#include "Targets.h"1415using namespace clang;16using namespace clang::targets;1718void DirectXTargetInfo::getTargetDefines(const LangOptions &Opts,19MacroBuilder &Builder) const {20DefineStd(Builder, "DIRECTX", Opts);21}222324