summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-07-03 18:29:02 +0000
committerLouis Dionne <ldionne@apple.com>2019-07-03 18:29:02 +0000
commit1c478d6e85ce0788f37e7a874ea549f2e58540ee (patch)
tree03d18225f976d69b12b7d60976d8224580a27225 /libcxx/utils
parent4c80281c96291abcd7bb734dab114f8eeecd38bb (diff)
downloadbcm5719-llvm-1c478d6e85ce0788f37e7a874ea549f2e58540ee.tar.gz
bcm5719-llvm-1c478d6e85ce0788f37e7a874ea549f2e58540ee.zip
[libc++] Update availability markup for Filesystem on Apple platforms
llvm-svn: 365068
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index c618c29fd15..e263e9db750 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -1164,10 +1164,10 @@ class Configuration(object):
self.config.available_features.add('dylib-has-no-bad_any_cast')
self.lit_config.note("throwing bad_any_cast is not supported by the deployment target")
- # Filesystem is not supported on Apple platforms yet
- if name == 'macosx':
+ # Filesystem is support on Apple platforms starting with macosx10.15.
+ if name == 'macosx' and version in ('10.%s' % v for v in range(7, 15)):
self.config.available_features.add('dylib-has-no-filesystem')
- self.lit_config.note("the deployment target does not support the dylib parts of <filesystem>")
+ self.lit_config.note("the deployment target does not support <filesystem>")
else:
self.cxx.flags += ['-D_LIBCPP_DISABLE_AVAILABILITY']
OpenPOWER on IntegriCloud