adding __has_feature support for left c++ type_traits.
fixes this
https://bugs.llvm.org/show_bug.cgi?id=44517
Differential D72565
adding __has_feature support for left c++ type_traits kamleshbhalui on Jan 12 2020, 4:28 AM. Authored by
Details adding __has_feature support for left c++ type_traits. fixes this
Diff Detail
Event TimelineComment Actions Probably needs test coverage (perhaps check the commits that added other feature tests - there's probably somewhere you can plugin tests in a similar way to plugging in the feature tests themselves)
|
Please see this comment. __has_builtin should be used to detect these type traits, per the documentation (https://clang.llvm.org/docs/LanguageExtensions.html#type-trait-primitives and https://clang.llvm.org/docs/LanguageExtensions.html#has-builtin), and already works for this purpose.