[all-commits] [llvm/llvm-project] de2e0a: [Clang][Smea] Accept weak reference after declaration
aokblast via All-commits
all-commits at lists.llvm.org
Sat Oct 3 19:35:15 PDT 2026
Branch: refs/heads/users/aokblast/clang/sema_accept_weak_after_decl
Home: https://github.com/llvm/llvm-project
Commit: de2e0aad18a3146a8f608a5ce9eac6637a7b6d05
https://github.com/llvm/llvm-project/commit/de2e0aad18a3146a8f608a5ce9eac6637a7b6d05
Author: ShengYi Hung <aokblast at FreeBSD.org>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/docs/ReleaseNotes.md
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/CodeGen/pragma-weak.c
M clang/test/Sema/pragma-weak.c
Log Message:
-----------
[Clang][Smea] Accept weak reference after declaration
GCC accepts a weak reference even after there is a declaration. It is
fine for us to just append a weak attribute in the previous
declaration directly.
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