summaryrefslogtreecommitdiffstats
path: root/libcxx/include/string_view
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2016-07-28 04:52:02 +0000
committerMarshall Clow <mclow.lists@gmail.com>2016-07-28 04:52:02 +0000
commitaa849bc2f23432af3104b2c1524009312bcad223 (patch)
treec9bf75a36cad4a8f584e8a25c8c3f9490661a3a8 /libcxx/include/string_view
parenta8cb765cf45b6bdf8a76828c7882cecf2d3d5034 (diff)
downloadbcm5719-llvm-aa849bc2f23432af3104b2c1524009312bcad223.tar.gz
bcm5719-llvm-aa849bc2f23432af3104b2c1524009312bcad223.zip
Add a bunch of noexcepts to char_traits and string_view.
llvm-svn: 276955
Diffstat (limited to 'libcxx/include/string_view')
-rw-r--r--libcxx/include/string_view2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/string_view b/libcxx/include/string_view
index 08fcfd62350..67fc60656f6 100644
--- a/libcxx/include/string_view
+++ b/libcxx/include/string_view
@@ -356,7 +356,7 @@ public:
}
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY
- int compare(const _CharT* __s) const
+ int compare(const _CharT* __s) const _NOEXCEPT
{
return compare(basic_string_view(__s));
}
OpenPOWER on IntegriCloud