================
@@ -2345,6 +2347,46 @@ static bool IsVectorConversion(Sema &S, QualType 
FromType, QualType ToType,
   return false;
 }
 
+static bool IsHLSLPackedTypeConversion(Sema &S, QualType FromType,
+                                       QualType ToType,
+                                       ImplicitConversionKind &ICK,
+                                       ImplicitConversionKind &DimensionICK,
+                                       Expr *From) {
+  if (!S.getLangOpts().HLSL)
+    return false;
+  if (S.Context.hasSameUnqualifiedType(FromType, ToType))
+    return false;
+
+  QualType UIntTy = S.Context.UnsignedIntTy;
----------------
Alexander-Johnston wrote:

Fixed, thank you!

https://github.com/llvm/llvm-project/pull/224277
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to