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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to