[all-commits] [llvm/llvm-project] c9dbf0: [libc++] Fix __wrap_iter copy-assignment in conste...

philnik777 via All-commits all-commits at lists.llvm.org
Tue Jan 4 02:07:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9dbf0f2a1e937283b0435b76ce41bcb343fffb8
      https://github.com/llvm/llvm-project/commit/c9dbf0f2a1e937283b0435b76ce41bcb343fffb8
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M libcxx/include/__iterator/wrap_iter.h
    M libcxx/test/std/strings/basic.string/string.iterators/iterators.pass.cpp

  Log Message:
  -----------
  [libc++] Fix __wrap_iter copy-assignment in constexpr contexts

Fixes https://github.com/llvm/llvm-project/issues/52902

In debug mode during constant evaluation the iterator was never assigend. There seem to be no other instances of this bug.

Reviewed By: Quuxplusone, Mordante, #libc, ldionne

Spies: ldionne, libcxx-commits

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




More information about the All-commits mailing list