[all-commits] [llvm/llvm-project] 1700ea: [libc++] Remove the ability to use braced-init for...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Feb 4 08:49:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1700ea7302870b38df2cd048d9920368dc87453b
      https://github.com/llvm/llvm-project/commit/1700ea7302870b38df2cd048d9920368dc87453b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M libcxx/include/filesystem
    R libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp

  Log Message:
  -----------
  [libc++] Remove the ability to use braced-init for filesystem paths

According to my reading of http://eel.is/c++draft/filesystems#fs.class.path,
the Standard doesn't actually mention that this should work. Since other
implementations don't allow it, allowing it in libc++ is just setting a
portability trap.

Supersedes https://reviews.llvm.org/D89865.

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




More information about the All-commits mailing list