clang 20.0.0git
DirectX.cpp
Go to the documentation of this file.
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
16using namespace clang;
17using namespace clang::targets;
18
20 MacroBuilder &Builder) const {
21 DefineStd(Builder, "DIRECTX", Opts);
22}
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Definition: LangOptions.h:499
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods -----------------------—===//
Definition: DirectX.cpp:19
LLVM_LIBRARY_VISIBILITY void DefineStd(clang::MacroBuilder &Builder, llvm::StringRef MacroName, const clang::LangOptions &Opts)
Define a macro name and standard variants.
The JSON file list parser is used to communicate input to InstallAPI.