clang 20.0.0git
hlsl.h
Go to the documentation of this file.
1//===----- hlsl.h - HLSL definitions --------------------------------------===//
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#ifndef _HLSL_H_
10#define _HLSL_H_
11
12#if defined(__clang__)
13// Don't warn about any of the DXC compatibility warnings in the clang-only
14// headers since these will never be used with DXC anyways.
15#pragma clang diagnostic push
16#pragma clang diagnostic ignored "-Whlsl-dxc-compatability"
17#endif
18
21
22#if defined(__clang__)
23#pragma clang diagnostic pop
24#endif
25
26#endif //_HLSL_H_