summaryrefslogtreecommitdiffstats
path: root/libcxx/src/experimental/filesystem/operations.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-20 08:36:45 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-20 08:36:45 +0000
commitdc3c62f3e40e88c77aad7a60bbdd4a61fca1a572 (patch)
tree88bf9401598421cadaa09279594c44ad1d6e59ea /libcxx/src/experimental/filesystem/operations.cpp
parentf52726aae910348a2f6d598b707aec263f7e67e2 (diff)
downloadbcm5719-llvm-dc3c62f3e40e88c77aad7a60bbdd4a61fca1a572.tar.gz
bcm5719-llvm-dc3c62f3e40e88c77aad7a60bbdd4a61fca1a572.zip
adjust incorrect comment
llvm-svn: 337532
Diffstat (limited to 'libcxx/src/experimental/filesystem/operations.cpp')
-rw-r--r--libcxx/src/experimental/filesystem/operations.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/src/experimental/filesystem/operations.cpp b/libcxx/src/experimental/filesystem/operations.cpp
index 126aec501a6..28851028aba 100644
--- a/libcxx/src/experimental/filesystem/operations.cpp
+++ b/libcxx/src/experimental/filesystem/operations.cpp
@@ -1426,7 +1426,8 @@ error_code directory_entry::__do_refresh() noexcept {
__data_.__cache_type_ = directory_entry::_RefreshSymlinkUnresolved;
return error_code{};
}
- // Otherwise, we resolved the link as not existing. That's OK.
+ // Otherwise, we either resolved the link, potentially as not existing.
+ // That's OK.
__data_.__cache_type_ = directory_entry::_RefreshSymlink;
}
OpenPOWER on IntegriCloud