projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c169986
)
cleanup test assertion inside library
author
Eric Fiselier
<eric@efcs.ca>
Fri, 20 Jul 2018 01:25:06 +0000
(
01:25
+0000)
committer
Eric Fiselier
<eric@efcs.ca>
Fri, 20 Jul 2018 01:25:06 +0000
(
01:25
+0000)
llvm-svn: 337517
libcxx/src/experimental/filesystem/operations.cpp
patch
|
blob
|
history
diff --git
a/libcxx/src/experimental/filesystem/operations.cpp
b/libcxx/src/experimental/filesystem/operations.cpp
index
449b609
..
126aec5
100644
(file)
--- a/
libcxx/src/experimental/filesystem/operations.cpp
+++ b/
libcxx/src/experimental/filesystem/operations.cpp
@@
-25,11
+25,6
@@
#include <fcntl.h> /* values for fchmodat */
#include <experimental/filesystem>
-#ifdef NDEBUG
-#undef NDEBUG
-#endif
-#include <cassert>
-
_LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL_FILESYSTEM
filesystem_error::~filesystem_error() {}
@@
-298,7
+293,6
@@
file_status create_file_status(std::error_code& m_ec, path const& p,
struct ::stat& path_stat, std::error_code* ec) {
if (ec)
*ec = m_ec;
- // assert(m_ec.value() != ENOTDIR);
if (m_ec && (m_ec.value() == ENOENT || m_ec.value() == ENOTDIR)) {
return file_status(file_type::not_found);
} else if (m_ec) {