[PATCH] D23385: Implement __attribute__((require_constant_initialization)) attribute

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 12 04:57:57 PDT 2016


EricWF retitled this revision from "Implement __has_constant_initializer(obj) expression traits." to "Implement __attribute__((require_constant_initialization)) attribute".
EricWF updated the summary for this revision.
EricWF updated this revision to Diff 67821.
EricWF added a comment.

Switch to an attribute based implementation as suggested by @rsmith.


https://reviews.llvm.org/D23385

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/Lexer/has_extension_cxx.cpp
  test/SemaCXX/attr-require-constant-initialization.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23385.67821.patch
Type: text/x-patch
Size: 17863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160812/66eed7ca/attachment.bin>


More information about the cfe-commits mailing list