[all-commits] [llvm/llvm-project] 159d69: [libc++] __uglify internal member names of iterato...

A. Jiang via All-commits all-commits at lists.llvm.org
Thu Oct 10 06:14:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 159d694c05500a656775f4cbd6931dae9aab290a
      https://github.com/llvm/llvm-project/commit/159d694c05500a656775f4cbd6931dae9aab290a
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/include/bitset
    A libcxx/test/std/utilities/template.bitset/bitset.members/nonstdmem.uglified.compile.pass.cpp

  Log Message:
  -----------
  [libc++] __uglify internal member names of iterators in `bitset` (#111127)

[template.bitset.general] indicates that `bitset` shouldn't have member
typedef-names `iterator` and `const_iterator`. Currently libc++'s
typedef-names are causing ambiguity in name lookup, which isn't
conforming.

As these iterator types are themselves useful, I think we should just
use __uglified member typedef-names for them.

Fixes #111125



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list