[PATCH] D34578: cmath: Support clang's -fdelayed-template-parsing
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 23 15:56:41 PDT 2017
dexonsmith created this revision.
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.
(Incidentally, I noticed that r283051 was optimizing the implementation of `<complex>`. I wonder why we have so much code in that header, instead of calling out to libc's already-optimized `<complex.h>` implementation?)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20805 bytes
Desc: not available
More information about the cfe-commits