Author: ericwf Date: Mon Dec 5 17:53:23 2016 New Revision: 288733 URL: http://llvm.org/viewvc/llvm-project?rev=288733&view=rev Log: Add module definitions for string_view
Modified: libcxx/trunk/include/module.modulemap libcxx/trunk/include/string_view Modified: libcxx/trunk/include/module.modulemap URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/module.modulemap?rev=288733&r1=288732&r2=288733&view=diff ============================================================================== --- libcxx/trunk/include/module.modulemap (original) +++ libcxx/trunk/include/module.modulemap Mon Dec 5 17:53:23 2016 @@ -393,6 +393,14 @@ module std [system] { module string { header "string" export initializer_list + export string_view + export __string + export * + } + module string_view { + header "string_view" + export initializer_list + export __string export * } module strstream { @@ -468,6 +476,7 @@ module std [system] { module __split_buffer { header "__split_buffer" export * } module __sso_allocator { header "__sso_allocator" export * } module __std_stream { header "__std_stream" export * } + module __string { header "__string" export * } module __tree { header "__tree" export * } module __tuple { header "__tuple" export * } module __undef_min_max { header "__undef_min_max" export * } Modified: libcxx/trunk/include/string_view URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string_view?rev=288733&r1=288732&r2=288733&view=diff ============================================================================== --- libcxx/trunk/include/string_view (original) +++ libcxx/trunk/include/string_view Mon Dec 5 17:53:23 2016 @@ -164,7 +164,10 @@ namespace std { #include <__config> #include <__string> +#include <algorithm> #include <iterator> +#include <limits> +#include <stdexcept> #include <__debug> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits