cmath: Support clang's -fdelayed-template-parsing
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 7 Jul 2017 05:13:36 +0000 (05:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 7 Jul 2017 05:13:36 +0000 (05:13 +0000)
commit66631a12b833ffffa643bb67042811fe163cebae
tree50742974c69213fc33355ade56c4b05699592dde
parent6c4bfba8f3e2f08f5b42f8a18c3ab0d5a3f5e23c
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
libcxx/include/cmath
libcxx/include/complex
libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp
libcxx/test/libcxx/numerics/c.math/fdelayed-template-parsing.sh.cpp [new file with mode: 0644]
libcxx/utils/libcxx/test/config.py