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

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 20:41:02 PDT 2024


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

The other "should never get here"' is in a different switch statement. I will update the message to match.

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


More information about the cfe-commits mailing list