diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-11-19 09:46:34 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-11-19 09:46:34 +0000 |
commit | 577fa7f00fa0c3aff42d596d5e9db6c2fbbd4f4e (patch) | |
tree | 87495b4bd9ad4caa17a91c0589d9924f95364e4c /libcxx/utils | |
parent | bece74c694888bd35d437a6778e547e654ae16a6 (diff) | |
download | bcm5719-llvm-577fa7f00fa0c3aff42d596d5e9db6c2fbbd4f4e.tar.gz bcm5719-llvm-577fa7f00fa0c3aff42d596d5e9db6c2fbbd4f4e.zip |
Attempt to fix template depth test failures on older Clang versions
llvm-svn: 318625
Diffstat (limited to 'libcxx/utils')
-rw-r--r-- | libcxx/utils/libcxx/test/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index 4ed67c2238f..199ff3566d3 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -579,6 +579,9 @@ class Configuration(object): # Disable availability unless explicitely requested if not self.with_availability: self.cxx.flags += ['-D_LIBCPP_DISABLE_AVAILABILITY'] + # FIXME(EricWF): variant_size.pass.cpp requires a slightly larger + # template depth with older Clang versions. + self.cxx.addFlagIfSupported('-ftemplate-depth=270') def configure_compile_flags_header_includes(self): support_path = os.path.join(self.libcxx_src_root, 'test', 'support') |