[PATCH] D39481: [CodeGen] fix const-ness of builtin equivalents of <math.h> and <complex.h> functions that might set errno

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 16:16:34 PDT 2017


efriedma added a comment.

Please make these consistent with the non-__builtin versions.

Granted, I'm not sure all of those are right... I'm pretty sure, for example, cbrt can't set errno, and carg can.  But I'd prefer to deal with that in a separate patch.


https://reviews.llvm.org/D39481





More information about the cfe-commits mailing list