Home
last modified time | relevance | path

Searched refs:preferred_separator (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/
H A Dsynop.pass.cpp36 ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator)); in main()
38 static_assert(path::preferred_separator == '\\', ""); in main()
40 static_assert(path::preferred_separator == '/', ""); in main()
43 const path::value_type* dummy = &path::preferred_separator; in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp258 …const char32_t u32ref[] = { 0x10437, fs::path::preferred_separator, 0x10437, fs::path::preferred_s… in test_append()
325 const char32_t u32ref_append[] = { 0xe5, fs::path::preferred_separator, 0xe5, 0x00 }; in test_append_concat_narrow()
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dpath.h456 static constexpr value_type preferred_separator = L'\\';
459 static constexpr value_type preferred_separator = '/';
574 __pn_ += preferred_separator;
603 __pn_ += preferred_separator;
626 __pn_ += preferred_separator;
640 __pn_ += preferred_separator;
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp55 inline char preferred_separator(Style style) { in preferred_separator() function
449 path.push_back(preferred_separator(style)); in append()
556 Ch = preferred_separator(style); in native()
739 needs_change |= remaining.front() != preferred_separator(style); in remove_dots()
775 buffer += preferred_separator(style); in remove_dots()
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Doperations.cpp1610 constexpr path::value_type path::preferred_separator; member in path