[PATCH] D16219: PR8901: attribute "mode" rejected for enums and dependent types
Denis Zobnin via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 15 06:54:38 PST 2016
d.zobnin.bugzilla created this revision.
d.zobnin.bugzilla added a reviewer: aaron.ballman.
d.zobnin.bugzilla added a subscriber: cfe-commits.
Allow "mode" attribute for enum types, except for vector modes, for compatibility with GCC. Support "mode" attribute with dependent types.
http://reviews.llvm.org/D16219
Files:
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/AttributeList.h
include/clang/Sema/Sema.h
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CodeGen/attr-mode-enums.c
test/CodeGenCXX/attr-mode-vector-types-tmpl.cpp
test/Sema/attr-mode-enums.c
test/Sema/attr-mode.c
test/SemaCXX/attr-mode-tmpl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16219.44979.patch
Type: text/x-patch
Size: 23838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160115/00574ee3/attachment-0001.bin>
More information about the cfe-commits
mailing list