summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-25 03:41:31 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-25 03:41:31 +0000
commit2493db4b2686263c0cfb1dab49c9fb1f218164ff (patch)
tree14ff1fca57bcb54a71ad90e7740cfe80e8c59d94 /src
parent0fbaa11dd3b95c9798e3e5bc2b20c4f40640e6d6 (diff)
downloadlibcxx-2493db4b2686263c0cfb1dab49c9fb1f218164ff.tar.gz
Make <experimental/filesystem> explicitly require C++11.
Previously the <experimental/filesystem> didn't guard its contents in any dialect. However, the implementation implicitly requires at least C++11, and the tests have always been marked unsupported in C++03. This patch puts a header guard around the contents to avoid exposing them before C++11. Additionally, it replaces all of the usages of _NOEXCEPT or _LIBCPP_CONSTEXPR with the keyword directly, since we can expect the compiler to implement those by now. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src')
-rw-r--r--src/experimental/filesystem/filesystem_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/experimental/filesystem/filesystem_common.h b/src/experimental/filesystem/filesystem_common.h
index 22ad9c313..104d0aa7b 100644
--- a/src/experimental/filesystem/filesystem_common.h
+++ b/src/experimental/filesystem/filesystem_common.h
@@ -414,6 +414,4 @@ bool SetTimeStructTo(TimeStruct& TS, file_time_type NewTime) {
_LIBCPP_END_NAMESPACE_EXPERIMENTAL_FILESYSTEM
-
-
#endif // FILESYSTEM_COMMON_H