diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-07-07 05:13:36 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-07-07 05:13:36 +0000 |
| commit | 66631a12b833ffffa643bb67042811fe163cebae (patch) | |
| tree | 50742974c69213fc33355ade56c4b05699592dde /libcxx/utils | |
| parent | 6c4bfba8f3e2f08f5b42f8a18c3ab0d5a3f5e23c (diff) | |
| download | bcm5719-llvm-66631a12b833ffffa643bb67042811fe163cebae.tar.gz bcm5719-llvm-66631a12b833ffffa643bb67042811fe163cebae.zip | |
cmath: Support clang's -fdelayed-template-parsing
r283051 added some functions to cmath (in namespace std) that have the
same name as functions in math.h (in the global namespace). Clang's
limited support for `-fdelayed-template-parsing` chokes on this. Rename
the ones in `cmath` and their uses in `complex` and the test.
rdar://problem/32848355
llvm-svn: 307357
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 0d5249b3ff2..3fc34b1cacf 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -440,6 +440,9 @@ class Configuration(object): # C++17 aligned allocation. self.config.available_features.add('no-aligned-allocation') + if self.cxx.hasCompileFlag('-fdelayed-template-parsing'): + self.config.available_features.add('fdelayed-template-parsing') + if self.get_lit_bool('has_libatomic', False): self.config.available_features.add('libatomic') |

