summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/src
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2024-12-19 10:13:33 +0300
committerthegeorg <[email protected]>2024-12-19 10:28:42 +0300
commit1353077f79bb3547792b2fc86c22a695f0bc76f9 (patch)
tree6a043b1e26f9995970dd4f09c05632f566e07a04 /contrib/libs/cxxsupp/libcxx/src
parente9866bdcbc5f04545c60374b690b1e04005e091b (diff)
libc++: Revert some patches
* `27-bitset.patch`: `__SIZEOF_SIZE_T__` is used in ([src/filesystem/error.h](https://github.com/ytsaurus/ytsaurus/blob/main/contrib/libs/cxxsupp/libcxx/src/filesystem/error.h)), hence the initial statement from rXXXXXX is no longer relevant * `48-version.patch`: This instance of libc\+\+ is not compiled with MSVC anymore, hence `# if defined(_MSC_VER) && _MSC_VER >= 1926` patches are irrelevant. * `50-operations.patch`: This should be handler by `NO_COMPILER_WARNINGS()` in `ya.make` commit_hash:395d3306c667738bf0af4e252d8bc3ba730b5730
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src')
-rw-r--r--contrib/libs/cxxsupp/libcxx/src/filesystem/path_parser.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/filesystem/path_parser.h b/contrib/libs/cxxsupp/libcxx/src/filesystem/path_parser.h
index a546604062d..28a8f240e3b 100644
--- a/contrib/libs/cxxsupp/libcxx/src/filesystem/path_parser.h
+++ b/contrib/libs/cxxsupp/libcxx/src/filesystem/path_parser.h
@@ -323,17 +323,15 @@ private:
return consumeNSeparators(consumeName(P, End), End, 2);
}
-#if defined(_LIBCPP_WIN32API)
PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept {
+#if defined(_LIBCPP_WIN32API)
if (PosPtr Ret = consumeDriveLetter(P, End))
return Ret;
if (PosPtr Ret = consumeNetworkRoot(P, End))
return Ret;
+#endif
return nullptr;
}
-#else
- PosPtr consumeRootName(PosPtr /*P*/, PosPtr /*End*/) const noexcept { return nullptr; }
-#endif
};
inline string_view_pair separate_filename(string_view_t const& s) {