[all-commits] [llvm/llvm-project] 74494d: [libc++] Don't use __is_fundamental in C++03 mode

Zoe Carver via All-commits all-commits at lists.llvm.org
Thu Mar 19 10:49:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 74494d9992bdf266259f8add410f346971471c46
      https://github.com/llvm/llvm-project/commit/74494d9992bdf266259f8add410f346971471c46
  Author: zoecarver <z.zoelec2 at gmail.com>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M libcxx/include/type_traits

  Log Message:
  -----------
  [libc++] Don't use __is_fundamental in C++03 mode

In C++03 mode, nullptr is defined by libc++, not the compiler so, we can't use __is_fundamental (because it will return false for nullptr).

Fixes: 5ade17e0ca8b11f57cb15a1bee6d30a3815d8cac




More information about the All-commits mailing list