[clang] [Clang] Accept mixed GNU and standard attributes in namespace scope (PR #240734)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 12 05:06:32 PST 2026
https://github.com/AaronBallman approved this pull request.
LGTM, thank you!
But we should handle `__declspec` as well in a follow-up PR. https://godbolt.org/z/PKheMj1cM -- MSVC now accepts in any order, so Clang is being too strict. This shows the full complement of ordering for namespace scopes: https://godbolt.org/z/hbTx99abh
https://github.com/llvm/llvm-project/pull/240734
More information about the cfe-commits
mailing list