summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtin-errno.c
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] split math and complex tests into separate files; NFCISanjay Patel2017-11-071-777/+0
| | | | | | | The files are already large, and we may need to add even more RUNs to distinguish differences based on OS, environment, or other platform things. llvm-svn: 317583
* [CodeGen] fix const-ness of builtin equivalents of <math.h> and <complex.h> ↵Sanjay Patel2017-11-021-129/+129
| | | | | | | | | | | | | | | | functions that might set errno This just makes const-ness of the builtins match const-ness of their lib function siblings. We're deferring fixing some of these that are obviously wrong to follow-up patches. Hopefully, the bugs are visible in the new test file (added at rL317220). As the description in Builtins.def says: "e = const, but only when -fmath-errno=0". This is step 2 of N to fix builtins and math calls as discussed in D39204. Differential Revision: https://reviews.llvm.org/D39481 llvm-svn: 317265
* [CodeGen] add builtin attr tests to show errno-related diffs; NFCSanjay Patel2017-11-021-0/+777
llvm-svn: 317220
OpenPOWER on IntegriCloud