[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


================
@@ -3437,6 +3437,9 @@ static void encodeTypeForFunctionPointerAuth(const ASTContext &Ctx,
     OS << II->getLength() << II->getName();
     return;
   }
+  case Type::HLSLAttributedResource:
----------------
llvm-beanz wrote:

This should maybe be higher up with the "should never get here" because I don't think we'll be supporting authenticated pointers for this.

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


More information about the cfe-commits mailing list