[all-commits] [llvm/llvm-project] da97d1: [libc++] Remove invalid use of `#if _LIBCPP_STD_VE...

Marek Kurdej via All-commits all-commits at lists.llvm.org
Thu Dec 10 23:32:18 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da97d12cc05a2474cd893b996c0d789f766d97b8
      https://github.com/llvm/llvm-project/commit/da97d12cc05a2474cd893b996c0d789f766d97b8
  Author: Marek Kurdej <marek.kurdej at gmail.com>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M libcxx/include/atomic

  Log Message:
  -----------
  [libc++] Remove invalid use of `#if _LIBCPP_STD_VER >= 11`, as `_LIBCPP_STD_VER` can never be less than 11.

The relevant part of `__config` is:
```
#ifndef _LIBCPP_STD_VER
#  if  __cplusplus <= 201103L
#    define _LIBCPP_STD_VER 11
```

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D93025




More information about the All-commits mailing list