[clang] [HLSL] Implement `SpirvType` and `SpirvOpaqueType` (PR #134034)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 04:28:08 PDT 2025
================
@@ -4855,6 +4857,17 @@ LinkageInfo LinkageComputer::computeTypeLinkageInfo(const Type *T) {
return computeTypeLinkageInfo(cast<HLSLAttributedResourceType>(T)
->getContainedType()
->getCanonicalTypeInternal());
+ case Type::HLSLInlineSpirv:
+ return LinkageInfo::external();
+ {
----------------
AaronBallman wrote:
What's going on here? We always return but we've got some dead code following this. (I suspect we're missing some test coverage for non-external linkages.
https://github.com/llvm/llvm-project/pull/134034
More information about the cfe-commits
mailing list