https://bugs.llvm.org/show_bug.cgi?id=44517
Richard Smith <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Richard Smith <[email protected]> ---
Per our documentation (see the end of
https://clang.llvm.org/docs/LanguageExtensions.html#type-trait-primitives),
__has_builtin is the right way to detect type traits. __has_feature only
supports detecting old type traits for backwards compatibility reasons.
(Note that GCC also supports __has_builtin as a way to detect __is_same and
friends.)
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs