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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user