[PATCH] D29804: Fully qualify (preprend ::) calls to math functions from libc
Mehdi AMINI via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 9 18:15:02 PST 2017
mehdi_amini created this revision.
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);
}
https://reviews.llvm.org/D29804
Files:
libcxx/include/math.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29804.87933.patch
Type: text/x-patch
Size: 47222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170210/a45ff3b0/attachment-0001.bin>
More information about the cfe-commits
mailing list