llvm-project
9e014de2 - [Clang] Fixed missing sentinel attribute diagnostic discrepancy with explicit object parameters (#208842)

Commit
4 days ago
[Clang] Fixed missing sentinel attribute diagnostic discrepancy with explicit object parameters (#208842) When using the sentinel attribute on a variadic function with an explicit object parameter, the missing sentinel attribute diagnostic takes into account the explicit object parameter as an argument. It was diagnosing `missing sentinel in function call` instead of `not enough variable arguments in '%0' declaration to fit a sentinel`, compared to other similar variadic functions. Fixes #200007
Author
Parents
Loading