[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
Mon Sep 30 12:36:23 PDT 2024
================
@@ -4492,6 +4492,31 @@ void CXXNameMangler::mangleType(const ArrayParameterType *T) {
mangleType(cast<ConstantArrayType>(T));
}
+void CXXNameMangler::mangleType(const HLSLAttributedResourceType *T) {
----------------
llvm-beanz wrote:
I assume the intent is that we're mangling this as a vendor-specific qualifier? If so, we should use `mangleVendorQualifier` to ensure that it is properly prefixed, and we should probably use more than one letter as the qualifier name.
https://github.com/llvm/llvm-project/pull/110327
More information about the cfe-commits
mailing list