[llvm-bugs] [Bug 41423] New: __cpp_lib_hardware_interference_size is defined, but there is no std::hardware_constructive_interference_size nor std::hardware_destructive_interference_size

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 8 03:20:12 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41423

            Bug ID: 41423
           Summary: __cpp_lib_hardware_interference_size is defined, but
                    there is no
                    std::hardware_constructive_interference_size nor
                    std::hardware_destructive_interference_size
           Product: libc++
           Version: 8.0
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: curdeius at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

This commit:
  a8b9f59e8caf378d56e8bfcecdb22184cdabf42d Implement feature test macros using
a script.

added test features macros for libc++.

Among others, it added `__cpp_lib_hardware_interference_size`.

However, there is nothing like std::hardware_constructive_interference_size nor
std::hardware_destructive_interference_size, that should be in header <new>.

Unless I'm missing something, this macro should not be defined and
https://libcxx.llvm.org/docs/FeatureTestMacroTable.html should show it as
unimplemented.

-- 
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/20190408/87bba4d7/attachment-0001.html>


More information about the llvm-bugs mailing list