[llvm-bugs] [Bug 44517] New: Stop adding new type traits builtins without adding __has_feature support for them
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 10 18:18:53 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44517
Bug ID: 44517
Summary: Stop adding new type traits builtins without adding
__has_feature support for them
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: brycelelbach at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
We seem to be forgetting to update __has_feature when adding new type traits
builtins.
__has_feature works with most type traits builtins, but not __is_function,
__is_assignable, or __is_nothrow_constructible.
This is a bit of a pain for us in libc++.
https://godbolt.org/z/iuVLDe
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200111/b39439eb/attachment.html>
More information about the llvm-bugs
mailing list