diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2017-10-24 16:30:06 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2017-10-24 16:30:06 +0000 |
| commit | ac2b3e3a7a7e49cfc486f95604a72775e41af11e (patch) | |
| tree | 972b0c7487ba9974929febe4754ce20c4f891c77 /libcxx/include/string_view | |
| parent | 9c8f853ca9ef959260e895c3c5bcdfdd34929936 (diff) | |
| download | bcm5719-llvm-ac2b3e3a7a7e49cfc486f95604a72775e41af11e.tar.gz bcm5719-llvm-ac2b3e3a7a7e49cfc486f95604a72775e41af11e.zip | |
Mark string_view's constructor from (ptr,len) as noexcept (an extension). Update the tests to check this (and other noexcept bits
llvm-svn: 316456
Diffstat (limited to 'libcxx/include/string_view')
| -rw-r--r-- | libcxx/include/string_view | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/string_view b/libcxx/include/string_view index c5cc255eb57..3e112eba693 100644 --- a/libcxx/include/string_view +++ b/libcxx/include/string_view @@ -216,7 +216,7 @@ public: basic_string_view& operator=(const basic_string_view&) _NOEXCEPT = default; _LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY - basic_string_view(const _CharT* __s, size_type __len) + basic_string_view(const _CharT* __s, size_type __len) _NOEXCEPT : __data(__s), __size(__len) { // #if _LIBCPP_STD_VER > 11 |

