[all-commits] [llvm/llvm-project] a2c160: [libc++] Add a few missing min/max macro push/pop

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Jun 27 10:13:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2c1603206a49affafeba3d1b6b0ee0f4e1592e6
      https://github.com/llvm/llvm-project/commit/a2c1603206a49affafeba3d1b6b0ee0f4e1592e6
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M libcxx/include/__algorithm/ranges_minmax.h
    M libcxx/include/__ranges/drop_view.h
    R libcxx/test/libcxx/containers/associative/undef_min_max.pass.cpp
    M libcxx/test/libcxx/nasty_macros.compile.pass.cpp
    R libcxx/test/libcxx/numerics/c.math/undef_min_max.pass.cpp

  Log Message:
  -----------
  [libc++] Add a few missing min/max macro push/pop

Also, improve the test for nasty macros to define min and max, so this
will be caught in the future.

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




More information about the All-commits mailing list