[clang] [NFC] Fixed Diagnostics that assumed only two arguments (PR #122772)

2025-01-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Farzon Lotfi (farzonl) Changes In the below code B varies over the arg list via a loop. However, the diagnostics do not vary with the loop. Fix so that diagnostics can vary with B. --- Full diff: https://github.com/llvm/llvm-project/pull

[clang] [NFC] Fixed Diagnostics that assumed only two arguments (PR #122772)

2025-01-13 Thread Farzon Lotfi via cfe-commits
https://github.com/farzonl created https://github.com/llvm/llvm-project/pull/122772 In the below code B varies over the arg list via a loop. However, the diagnostics do not vary with the loop. Fix so that diagnostics can vary with B. >From 9df164c835e7df5bf4ea863bd9735bb0e456cb6c Mon Sep 17 0