summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/cxx17
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-03-08 22:51:03 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-03-08 22:51:03 +0000
commit05048633834be2be634b3e32751a08b2eef12692 (patch)
tree33c0eeb6914bdd798d80a06b580fa790efe95fde /clang/test/Modules/Inputs/cxx17
parent260bda3fbcb216143e10840163a9f93223770a27 (diff)
downloadbcm5719-llvm-05048633834be2be634b3e32751a08b2eef12692.tar.gz
bcm5719-llvm-05048633834be2be634b3e32751a08b2eef12692.zip
Use correct function signature for strerror_r interceptor
There are two possible return values for strerror_r: On OS X, the return value is always `int`. On Linux, the return value can be either `char *` or `int`, depending on the value of: `(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE` Because OS X interceptors require a matching function signature, split out the two cases into separate interceptors, using the above information to determine the correct signature for a given build. llvm-svn: 297315
Diffstat (limited to 'clang/test/Modules/Inputs/cxx17')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud