summaryrefslogtreecommitdiffstats
path: root/libcxx/include/module.modulemap
diff options
context:
space:
mode:
authorZhihao Yuan <zy@miator.net>2018-07-03 03:25:10 +0000
committerZhihao Yuan <zy@miator.net>2018-07-03 03:25:10 +0000
commit4f4effd6ee074700ca72182f7b38976f0e231ea6 (patch)
treef369a9d3a86b338617cc46dca12d28be2b099aa2 /libcxx/include/module.modulemap
parent5e3ab7a9405a104c23212024f071162d4a9ab465 (diff)
downloadbcm5719-llvm-4f4effd6ee074700ca72182f7b38976f0e231ea6.tar.gz
bcm5719-llvm-4f4effd6ee074700ca72182f7b38976f0e231ea6.zip
[libc++] Lift std::errc into a separated header
Summary: This is needed to implement `<charconv>`, otherwise `<charconv>` would need to include `<system_error>`, which pulls in `<string>` -- a header which the `<charconv>` proposal intends to keep away from. Reviewers: mclow.lists, EricWF Reviewed By: mclow.lists Subscribers: christof, cfe-commits Differential Revision: https://reviews.llvm.org/D41347 llvm-svn: 336164
Diffstat (limited to 'libcxx/include/module.modulemap')
-rw-r--r--libcxx/include/module.modulemap1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index 5b3ebf48aa1..70f82a775e3 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -482,6 +482,7 @@ module std [system] {
// FIXME: These should be private.
module __bit_reference { header "__bit_reference" export * }
module __debug { header "__debug" export * }
+ module __errc { header "__errc" export * }
module __functional_base { header "__functional_base" export * }
module __hash_table { header "__hash_table" export * }
module __locale { header "__locale" export * }
OpenPOWER on IntegriCloud