[all-commits] [llvm/llvm-project] 837b2d: [[gnu::nonstring]] should work on pointers too (#1...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Mon Jul 28 08:53:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 837b2d464ff16fe0d892dcf2827747c97dd5465e
https://github.com/llvm/llvm-project/commit/837b2d464ff16fe0d892dcf2827747c97dd5465e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-07-28 (Mon, 28 Jul 2025)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-nonstring.c
Log Message:
-----------
[[gnu::nonstring]] should work on pointers too (#150974)
Clang's current implementation only works on array types, but GCC (which
is where we got this attribute) supports it on pointers as well as
arrays.
Fixes #150951
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list