summaryrefslogtreecommitdiffstats
path: root/Utilities/IWYU
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-05 21:21:39 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-05 22:03:44 (GMT)
commit9535823b2cff81b05e4c6b64016a95e2264ecda5 (patch)
treedd45fda36eff9d48f8069c91d803263c6097bd72 /Utilities/IWYU
parent6a91ee026547b2c9e2906a42c03fc49656470beb (diff)
downloadCMake-9535823b2cff81b05e4c6b64016a95e2264ecda5.zip
CMake-9535823b2cff81b05e4c6b64016a95e2264ecda5.tar.gz
CMake-9535823b2cff81b05e4c6b64016a95e2264ecda5.tar.bz2
IWYU: map system symbols to libuv
Diffstat (limited to 'Utilities/IWYU')
-rw-r--r--Utilities/IWYU/mapping.imp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/IWYU/mapping.imp b/Utilities/IWYU/mapping.imp
index 31313e5..a732c9c 100644
--- a/Utilities/IWYU/mapping.imp
+++ b/Utilities/IWYU/mapping.imp
@@ -119,6 +119,11 @@
{ include: [ "\"cmzlib/zconf.h\"", private, "\"cm_zlib.h\"", public ] },
{ include: [ "\"cmzlib/zlib.h\"", private, "\"cm_zlib.h\"", public ] },
+ # System symbols used by libuv
+ { symbol: [ "SIGHUP", private, "\"cm_uv.h\"", public ] },
+ { symbol: [ "SIGINT", private, "\"cm_uv.h\"", public ] },
+ { symbol: [ "ssize_t", private, "\"cm_uv.h\"", public ] },
+
{ symbol: [ "std::ifstream", private, "\"cmsys/FStream.hxx\"", public ] },
{ symbol: [ "std::ofstream", private, "\"cmsys/FStream.hxx\"", public ] },
{ symbol: [ "cmsys::ifstream", private, "\"cmsys/FStream.hxx\"", public ] },