[clang] [Sema] Check arg count for builtins with CustomTypeChecking (PR #222841)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 10 22:01:16 PDT 2026
================
@@ -4195,6 +4193,21 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID,
if (getLangOpts().HLSL && HLSL().CheckBuiltinFunctionCall(BuiltinID, TheCall))
return ExprError();
+ // check if the builtin has CustomTypeChecking or not, if it dose we get the
----------------
shafik wrote:
```suggestion
// check if the builtin has CustomTypeChecking or not, if it does we get the
```
https://github.com/llvm/llvm-project/pull/222841
More information about the cfe-commits
mailing list