[cfe-dev] [PATCH] libstdc++: Support std::is_aggregate on clang++ (was clang++: std::is_aggregate unusable with clang-5.0/libstdc++-7)

Katsuhiko Nishimra via cfe-dev cfe-dev at lists.llvm.org
Wed Aug 2 00:00:06 PDT 2017


On Mon, Jul 31, 2017 at 11:13:52AM -0400, Tim Song wrote:
> 
> https://clang.llvm.org/docs/LanguageExtensions.html#checks-for-type-trait-primitives
> seems to suggest using __has_extension instead.

On Mon, Jul 31, 2017 at 01:23:03PM -0400, Tim Song wrote:
> 
> Hmm, that doesn't work. Oh well.

By the way, Isn't it a bug? I've also confirmed both
__has_extension(is_aggregate) and __has_extension(__is_aggregate)
returns 0 on clang 6.0.0-svn309616-1~exp1.



More information about the cfe-dev mailing list