[PATCH] D23385: Implement __attribute__((require_constant_initialization)) for safe static initialization.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 14 13:10:05 PDT 2016
EricWF updated this revision to Diff 67983.
EricWF marked 2 inline comments as done.
EricWF added a comment.
Attempt to address Richards concerns about duplicate diagnostics and add tests for those cases.
Unfortunately the tests are failing, because there is a duplicate -Wglobal-constructors diagnostic, but I can't find where it's being emitted.
https://reviews.llvm.org/D23385
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/AttributeList.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/attr-require-constant-initialization.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23385.67983.patch
Type: text/x-patch
Size: 19725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160814/6f57085d/attachment-0001.bin>
More information about the cfe-commits
mailing list