[all-commits] [llvm/llvm-project] b44379: [libc++][test] Disable test for extension that's u...

Casey Carter via All-commits all-commits at lists.llvm.org
Mon Apr 27 13:07:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4437992ecceb3a30429b4c4901e2eeecf8e683a
      https://github.com/llvm/llvm-project/commit/b4437992ecceb3a30429b4c4901e2eeecf8e683a
  Author: Casey Carter <cacarter at microsoft.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
    M libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp

  Log Message:
  -----------
  [libc++][test] Disable test for extension that's unsupportable in C++20

Defining the nested types `reference` and `iterator_concept` of `reverse_iterator<I>` necessarily requires `I` to be complete in C++20. These tests that verify that `std::map<int, X>::reverse_iterator` can be instantiated when `X` is incomplete are going to have a bad time.

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




More information about the All-commits mailing list