[libc++] Remove the ability to use braced-init for filesystem paths
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 3 Feb 2021 21:40:41 +0000 (16:40 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Thu, 4 Feb 2021 16:49:00 +0000 (11:49 -0500)
commit1700ea7302870b38df2cd048d9920368dc87453b
tree9d1044ef78835e6741fb3865da77856551ac03f2
parent3869309a0c92735228afaa5663d1c10bb372bb54
[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
libcxx/include/filesystem
libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp [deleted file]