diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-06-25 17:31:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 17:31:41 +0200 |
commit | 731db06a878f5c8cb29b36d526a54493677ea89f (patch) | |
tree | 2ca6937e35c8152251adf45b50402b40e899ebad /libcxx/src/filesystem/operations.cpp | |
parent | 902952ae04afc2dfe28805b949a1e2218affe65e (diff) | |
download | llvm-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.cpp | 4 |
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); |