summaryrefslogtreecommitdiffstats
path: root/clang/docs/LanguageExtensions.rst
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-12 22:12:15 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-12 22:12:15 +0000
commit0736066b0b512de9e026d0306b34fb9646d7d0ee (patch)
treed95a9672043f3cd8dcb36115964d4dd0225bebe9 /clang/docs/LanguageExtensions.rst
parent6eee3a3fca80f841e70185ea5feba06f9d258860 (diff)
downloadbcm5719-llvm-0736066b0b512de9e026d0306b34fb9646d7d0ee.tar.gz
bcm5719-llvm-0736066b0b512de9e026d0306b34fb9646d7d0ee.zip
[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 llvm-svn: 300116
Diffstat (limited to 'clang/docs/LanguageExtensions.rst')
-rw-r--r--clang/docs/LanguageExtensions.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 29e971c1bb7..a8fb4623b63 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/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)
OpenPOWER on IntegriCloud