================
@@ -4739,6 +4753,76 @@ Sema::PerformImplicitConversion(Expr *From, QualType 
ToType,
     llvm_unreachable("Improper second standard conversion");
   }
 
+  if (SCS.Element != ICK_Identity) {
+    // if SCS.Element is not ICK_Identity the To and From types must be HLSL
----------------
AaronBallman wrote:

```suggestion
    // If SCS.Element is not ICK_Identity the To and From types must be HLSL
```

https://github.com/llvm/llvm-project/pull/71098
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to