XFAIL aligned allocation tests for older Clang versions

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284214 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-10-14 08:47:09 +00:00
parent 34c6b805cf
commit f172df1f43
9 changed files with 32 additions and 18 deletions

View File

@@ -315,6 +315,10 @@ class Configuration(object):
if self.cxx.hasCompileFlag('-faligned-allocation'):
self.config.available_features.add('-faligned-allocation')
else:
# FIXME remove this once more than just clang-4.0 support
# C++17 aligned allocation.
self.config.available_features.add('no-aligned-allocation')
if self.get_lit_bool('has_libatomic', False):
self.config.available_features.add('libatomic')