[all-commits] [llvm/llvm-project] 2dd0c4: [libcxx][test] Update directory_entry test for C++20

Casey Carter via All-commits all-commits at lists.llvm.org
Thu Jan 28 09:41:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dd0c4d8462658c9a721356b306aa52825612416
      https://github.com/llvm/llvm-project/commit/2dd0c4d8462658c9a721356b306aa52825612416
  Author: Casey Carter <Casey at Carter.net>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp

  Log Message:
  -----------
  [libcxx][test] Update directory_entry test for C++20

P1614R2 removes most of `directory_entry`'s member comparison operators, leaving only `operator==` and `operator<=>`. This test should require the comparison expressions to be valid rather than require the member functions to be present so it is correct in both C++17 and C++20 modes.




More information about the All-commits mailing list