aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/operations.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2024-06-25 17:31:41 +0200
committerGitHub <noreply@github.com>2024-06-25 17:31:41 +0200
commit731db06a878f5c8cb29b36d526a54493677ea89f (patch)
tree2ca6937e35c8152251adf45b50402b40e899ebad /libcxx/src/filesystem/operations.cpp
parent902952ae04afc2dfe28805b949a1e2218affe65e (diff)
downloadllvm-731db06a878f5c8cb29b36d526a54493677ea89f.zip
llvm-731db06a878f5c8cb29b36d526a54493677ea89f.tar.gz
llvm-731db06a878f5c8cb29b36d526a54493677ea89f.tar.bz2
[libc++] Get the GCC build mostly clean of warnings (#96604)
The GCC build has gotten to the point where it's often hard to find the actual error in the build log. We should look into enabling these warnings again in the future, but it looks like a lot of them are bogous.
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
-rw-r--r--libcxx/src/filesystem/operations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/filesystem/operations.cpp b/libcxx/src/filesystem/operations.cpp
index abd8695..a83c1ae 100644
--- a/libcxx/src/filesystem/operations.cpp
+++ b/libcxx/src/filesystem/operations.cpp
@@ -934,7 +934,7 @@ path __weakly_canonical(const path& p, error_code* ec) {
vector<string_view_t> DNEParts;
error_code m_ec;
- while (PP.State != PathParser::PS_BeforeBegin) {
+ while (PP.State_ != PathParser::PS_BeforeBegin) {
tmp.assign(createView(p.native().data(), &PP.RawEntry.back()));
file_status st = __status(tmp, &m_ec);
if (!status_known(st)) {
@@ -949,7 +949,7 @@ path __weakly_canonical(const path& p, error_code* ec) {
DNEParts.push_back(*PP);
--PP;
}
- if (PP.State == PathParser::PS_BeforeBegin) {
+ if (PP.State_ == PathParser::PS_BeforeBegin) {
result = __canonical("", &m_ec);
if (m_ec) {
return err.report(m_ec);