[PATCH] D89212: PR47663: Warn if an entity becomes weak after its first use.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 12 22:19:43 PDT 2020
rsmith updated this revision to Diff 297767.
rsmith added a comment.
- Don't warn if we see a weak definition for a declaration that's already
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89212/new/
https://reviews.llvm.org/D89212
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/AST/DeclBase.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/Sema/attr-weak.c
clang/test/Sema/init.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89212.297767.patch
Type: text/x-patch
Size: 11888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201013/bf45d423/attachment-0001.bin>
More information about the cfe-commits
mailing list