From 5baf73c3545b4a50b8b1eaf867b26a42587bba00 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 25 Jul 2018 03:41:31 +0000 Subject: Make explicitly require C++11. Previously the 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. llvm-svn: 337884 --- libcxx/src/experimental/filesystem/filesystem_common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libcxx/src/experimental/filesystem/filesystem_common.h') diff --git a/libcxx/src/experimental/filesystem/filesystem_common.h b/libcxx/src/experimental/filesystem/filesystem_common.h index 22ad9c313ae..104d0aa7bb7 100644 --- a/libcxx/src/experimental/filesystem/filesystem_common.h +++ b/libcxx/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 -- cgit v1.2.3