[clang] [Clang] Permit both `gnu` and `clang` prefixes on attributes (PR #125796)

2025-02-05 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman approved this pull request. LGTM, but please be sure to add a release note to `clang/docs/ReleaseNotes.rst` so users know about the changes as well. Also, before landing, please change the summary -- this isn't allowing both `clang` and `gnu` on *all* attributes,

[clang] [Clang] Permit both `gnu` and `clang` prefixes on attributes (PR #125796)

2025-02-04 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/125796 >From 77ee45f25f03614dbb63369922e9722a79ec8518 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Tue, 4 Feb 2025 20:03:33 -0600 Subject: [PATCH] [Clang] Permit both `gnu` and `clang` prefixes on attributes Summ

[clang] [Clang] Permit both `gnu` and `clang` prefixes on attributes (PR #125796)

2025-02-04 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Joseph Huber (jhuber6) Changes Summary: Some attributes have gnu extensions that share names with clang attributes. If these imply the same thing, we can specially declare this to be an alternate but equivalent spelling. Discussions welcom

[clang] [Clang] Permit both `gnu` and `clang` prefixes on attributes (PR #125796)

2025-02-04 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/125796 Summary: Some attributes have gnu extensions that share names with clang attributes. If these imply the same thing, we can specially declare this to be an alternate but equivalent spelling. Discussions welcome o