Mehdi Amini
|
7666130d06
|
Fully qualify (preprend ::) calls to math functions from libc
Summary:
This can cause a compile failure in cases like:
double log(double);
namespace foo {
namespace log {}
}
using namespace foo;
void bar(int i) {
log((double)i);
}
Reviewers: EricWF, mclow.lists
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D29804
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294696 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-02-10 02:44:23 +00:00 |
|
Shoaib Meenai
|
7dc2fa31af
|
[libc++] Remove math_win32.h
Visual Studio 2013 and onward have all the required functions in their
CRT headers, and we don't support older versions anymore.
Differential Revision: https://reviews.llvm.org/D24879
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@282328 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-09-24 06:27:28 +00:00 |
|
Eric Fiselier
|
543cf61be7
|
Fix PR28506. Re-enable missing math.h C++11 decls on SunOS. Patch from Michal Gorny.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@278716 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-08-15 18:58:57 +00:00 |
|
Richard Smith
|
45bae0b7dc
|
PR25118: move system_header pragma before uses of include_next to avoid extension warnings for people finding libc++ headers via -I paths.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@249788 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-10-09 00:26:50 +00:00 |
|
Richard Smith
|
4faa3944c6
|
Split <math.h> out of <cmath>.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@249742 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-10-08 20:40:34 +00:00 |
|