diff options
author | Helena Kotas <hekotas@microsoft.com> | 2024-10-22 16:32:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 16:32:09 -0700 |
commit | 9b984554d769f1f81adb654345aa9ef37d5e5b44 (patch) | |
tree | 13dc96082a8613b9c39202c0d749b56231b47bc1 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4334f317e7fb2bdeaa15e912bbe0cd3162faf02c (diff) | |
download | llvm-9b984554d769f1f81adb654345aa9ef37d5e5b44.zip llvm-9b984554d769f1f81adb654345aa9ef37d5e5b44.tar.gz llvm-9b984554d769f1f81adb654345aa9ef37d5e5b44.tar.bz2 |
[HLSL][NFC] Move IsIntangibleType from SemaHLSL to Type to make it accessible outside of Sema (#113206)
Moves `IsIntangibleType` from SemaHLSL to Type class and renames it to
`isHLSLIntangibleType`. The existing `isHLSLIntangibleType` is renamed
to `isHLSLBuiltinIntangibleType` and updated to return true only for the
builtin `__hlsl_resource_t` type.
This change makes `isHLSLIntangibleType` functionality accessible
outside of Sema, for example from clang CodeGen.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions