================
@@ -3816,6 +3804,9 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl,
unsigned BuiltinID,
}
case Builtin::BI__builtin_allow_sanitize_check: {
+ if (checkArgCount(TheCall, 1))
----------------
AaronBallman wrote:
I think we can do this now; there was a time when we had less table generation
for builtin information, but I think we should have everything we need now to
automatically check arg counts when we can.
https://github.com/llvm/llvm-project/pull/183927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits