[clang] [HLSL] Update Sema Checking Diagnostics for builtins (PR #138429)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Wed May 21 11:52:17 PDT 2025


================
@@ -2507,13 +2441,9 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
     break;
   }
   case Builtin::BI__builtin_hlsl_dot: {
-    if (SemaRef.checkArgCount(TheCall, 2))
----------------
farzonl wrote:

a comment to this effect would be good, because this sticks out.

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


More information about the cfe-commits mailing list