[libcxx] Make path::format a non-class enum
authorMartin Storsjö <martin@martin.st>
Fri, 6 Nov 2020 09:57:47 +0000 (11:57 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 20 Feb 2021 22:25:54 +0000 (00:25 +0200)
commit26005c788b06755ccafe1205de181bbd8b2ed664
tree6fe53d10cc33e81f42c8b59d88d129920d7e0689
parent6b286d93f7ec8518c685a302269e44b06a0a24f3
[libcxx] Make path::format a non-class enum

The spec doesn't declare it as an enum class, and being declared
as an enum class breaks referring to the values as e.g.
path::auto_format.

Differential Revision: https://reviews.llvm.org/D97084
libcxx/include/filesystem
libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp
libcxx/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp