[PATCH] D39611: [CodeGen] change const-ness of complex calls

Sanjay Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 10 10:40:33 PST 2017


spatel updated this revision to Diff 122474.
spatel added a comment.

Patch updated:
Except for cimag, cproj, conj, and creal, everything in <complex> is marked 'e' - the functions are not const if we might set errno.


https://reviews.llvm.org/D39611

Files:
  include/clang/Basic/Builtins.def
  test/CodeGen/complex-builtins.c
  test/CodeGen/complex-libcalls.c
  test/CodeGen/libcall-declarations.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39611.122474.patch
Type: text/x-patch
Size: 48838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171110/00530599/attachment-0001.bin>


More information about the cfe-commits mailing list