[clang] No longer assert on incorrect attribute argument index (PR #133766)

2025-04-04 Thread via cfe-commits
https://github.com/Sirraide approved this pull request. https://github.com/llvm/llvm-project/pull/133766 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] No longer assert on incorrect attribute argument index (PR #133766)

2025-03-31 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman updated https://github.com/llvm/llvm-project/pull/133766 >From 9d0fc75e39908c30567b6ebc0e4c4fa5d4863ca0 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 31 Mar 2025 13:55:57 -0400 Subject: [PATCH 1/2] No longer assert on incorrect attribute argument index

[clang] No longer assert on incorrect attribute argument index (PR #133766)

2025-03-31 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman created https://github.com/llvm/llvm-project/pull/133766 Fixes an assertion when referencing an out-of-bounds parameter via a function attribute whose argument list refers to parameters by index and the function is variadic. e.g., __attribute__ ((__format_a

[clang] No longer assert on incorrect attribute argument index (PR #133766)

2025-03-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Aaron Ballman (AaronBallman) Changes Fixes an assertion when referencing an out-of-bounds parameter via a function attribute whose argument list refers to parameters by index and the function is variadic. e.g., __attribute__ ((__form