mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
Add module definitions for string_view
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@288733 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -393,6 +393,14 @@ module std [system] {
|
|||||||
module string {
|
module string {
|
||||||
header "string"
|
header "string"
|
||||||
export initializer_list
|
export initializer_list
|
||||||
|
export string_view
|
||||||
|
export __string
|
||||||
|
export *
|
||||||
|
}
|
||||||
|
module string_view {
|
||||||
|
header "string_view"
|
||||||
|
export initializer_list
|
||||||
|
export __string
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
module strstream {
|
module strstream {
|
||||||
@@ -468,6 +476,7 @@ module std [system] {
|
|||||||
module __split_buffer { header "__split_buffer" export * }
|
module __split_buffer { header "__split_buffer" export * }
|
||||||
module __sso_allocator { header "__sso_allocator" export * }
|
module __sso_allocator { header "__sso_allocator" export * }
|
||||||
module __std_stream { header "__std_stream" export * }
|
module __std_stream { header "__std_stream" export * }
|
||||||
|
module __string { header "__string" export * }
|
||||||
module __tree { header "__tree" export * }
|
module __tree { header "__tree" export * }
|
||||||
module __tuple { header "__tuple" export * }
|
module __tuple { header "__tuple" export * }
|
||||||
module __undef_min_max { header "__undef_min_max" export * }
|
module __undef_min_max { header "__undef_min_max" export * }
|
||||||
|
@@ -164,7 +164,10 @@ namespace std {
|
|||||||
#include <__config>
|
#include <__config>
|
||||||
|
|
||||||
#include <__string>
|
#include <__string>
|
||||||
|
#include <algorithm>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include <limits>
|
||||||
|
#include <stdexcept>
|
||||||
#include <__debug>
|
#include <__debug>
|
||||||
|
|
||||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
|
Reference in New Issue
Block a user