[clang] [HLSL] Make HLSLAttributedResourceType canonical and add code paths to convert HLSL types to DirectX target types (PR #110327)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 13:13:53 PDT 2024


================
@@ -3943,6 +3943,9 @@ void ItaniumRTTIBuilder::BuildVTablePointer(const Type *Ty) {
     // abi::__pointer_to_member_type_info.
     VTableName = "_ZTVN10__cxxabiv129__pointer_to_member_type_infoE";
     break;
+
+  case Type::HLSLAttributedResource:
+    llvm_unreachable("not yet implemented");
----------------
llvm-beanz wrote:

I suspect we should probably make this more of an "HLSL doesn't support virtual functions".

https://github.com/llvm/llvm-project/pull/110327


More information about the cfe-commits mailing list