From d4025eed6397919608278caa0e91fe5d5568d070 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 12 Apr 2017 22:12:15 +0000 Subject: [Sema] Add __is_aggregate type-trait Summary: [LWG 2911](http://cplusplus.github.io/LWG/lwg-defects.html#2911) adds `std::is_aggregate` to the library, which requires a new builtin trait. This patch implements `__is_aggregate`. Reviewers: rsmith, majnemer, aaron.ballman Reviewed By: aaron.ballman Subscribers: STL_MSFT, cfe-commits Differential Revision: https://reviews.llvm.org/D31513 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300116 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LanguageExtensions.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/LanguageExtensions.rst') diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 29e971c1bb..a8fb4623b6 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -993,6 +993,7 @@ The following type trait primitives are supported by Clang: * ``__has_trivial_destructor`` (GNU, Microsoft) * ``__has_virtual_destructor`` (GNU, Microsoft) * ``__is_abstract`` (GNU, Microsoft) +* ``__is_aggregate`` (GNU, Microsoft) * ``__is_base_of`` (GNU, Microsoft) * ``__is_class`` (GNU, Microsoft) * ``__is_convertible_to`` (Microsoft) -- cgit v1.2.3