projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5983912
)
We had a _LIBCPP_ASSERT commented out because gcc 4.9 didn't like it. We (LLVM) now...
author
Marshall Clow
<mclow.lists@gmail.com>
Tue, 4 Jun 2019 02:07:11 +0000
(
02:07
+0000)
committer
Marshall Clow
<mclow.lists@gmail.com>
Tue, 4 Jun 2019 02:07:11 +0000
(
02:07
+0000)
llvm-svn: 362465
libcxx/include/string_view
patch
|
blob
|
history
diff --git
a/libcxx/include/string_view
b/libcxx/include/string_view
index
d29bcc3
..
aa93e1f
100644
(file)
--- a/
libcxx/include/string_view
+++ b/
libcxx/include/string_view
@@
-228,9
+228,9
@@
public:
basic_string_view(const _CharT* __s, size_type __len) _NOEXCEPT
: __data(__s), __size(__len)
{
-
//
#if _LIBCPP_STD_VER > 11
-
//
_LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received nullptr");
-
//
#endif
+#if _LIBCPP_STD_VER > 11
+ _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received nullptr");
+#endif
}
_LIBCPP_CONSTEXPR _LIBCPP_INLINE_VISIBILITY