================
@@ -145,6 +145,16 @@ bool SemaPPC::CheckPPCBuiltinFunctionCall(const TargetInfo 
&TI,
   //  - IsIntType: enforces any integer type
   // Lambdas centralize type checks for BCD builtin handlers
 
+  // reject calls with more args than the builtin's declared prototype
----------------
im-lunex wrote:

cuz if we fix the double diagnostic issue by removing the checks and we dont 
need any more after removing "t" (already being handled by Sema's normal 
checking) we would have a different diagnostic message that the normal Sema 
will give us but that will need to update the diagnostic expectation of a lot 
of checks in many test files here.. 

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

Reply via email to