[PATCH] D31513: [Sema] Add __is_aggregate type-trait and implement LWG 2015

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 31 14:35:01 PDT 2017


EricWF updated this revision to Diff 93709.
EricWF added a comment.

- Update the doc to reflect that GCC has implemented this trait (and to assume MS will as well).
- Rewrite the tests using static_assert over god-awful old style array asserts.


https://reviews.llvm.org/D31513

Files:
  docs/LanguageExtensions.rst
  include/clang/Basic/TokenKinds.def
  include/clang/Basic/TypeTraits.h
  lib/Parse/ParseDeclCXX.cpp
  lib/Parse/ParseExpr.cpp
  lib/Sema/SemaExprCXX.cpp
  test/PCH/cxx-traits.cpp
  test/PCH/cxx-traits.h
  test/SemaCXX/type-traits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31513.93709.patch
Type: text/x-patch
Size: 11980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170331/60f6a016/attachment.bin>


More information about the cfe-commits mailing list