diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-07-25 03:41:31 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-07-25 03:41:31 +0000 |
commit | 5baf73c3545b4a50b8b1eaf867b26a42587bba00 (patch) | |
tree | f68a832901fdb053d923511f61c3fbba2c804c08 /libcxx/src | |
parent | 52ec6a206f15ee84308c56d5bd7e906e9235f510 (diff) | |
download | bcm5719-llvm-5baf73c3545b4a50b8b1eaf867b26a42587bba00.tar.gz bcm5719-llvm-5baf73c3545b4a50b8b1eaf867b26a42587bba00.zip |
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.
llvm-svn: 337884
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/experimental/filesystem/filesystem_common.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 |