Warning, /include/clang/Basic/HLSLIntangibleTypes.def is written in an unsupported language. File is not indexed.
0001 //===-- HLSLIntangibleTypes.def - HLSL standard intangible types ----*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===--------------------------------------------------------------------------===//
0008 //
0009 // This file defines HLSL standard intangible types. These are implementation-
0010 // defined types such as handle types that have no defined object
0011 // representation or value representation and their size is unknown at compile
0012 // time.
0013 //
0014 // The macro is:
0015 //
0016 // HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId)
0017 //
0018 // where:
0019 //
0020 // - Name is the name of the builtin type.
0021 //
0022 // - BuiltinType::Id is the enumerator defining the type.
0023 //
0024 // - Context.SingletonId is the global singleton of this type.
0025 //
0026 // To include this file, define HLSL_INTANGIBLE_TYPE.
0027 // The macro will be undefined after inclusion.
0028 //
0029 //===----------------------------------------------------------------------===//
0030
0031 HLSL_INTANGIBLE_TYPE(__hlsl_resource_t, HLSLResource, HLSLResourceTy)
0032
0033 #undef HLSL_INTANGIBLE_TYPE